I have got an issue where I have to "simulate" microphone output.

Data is going to be coming within the network, decoded into PCM and essentially must be written in to the mic - which in turn other programs can seeOrreportOrwhat ever.

I have been reading through on alsa but details are pretty sparse. The file wordpress plugin seemes promising - I believed of getting a named pipe as "infile" that we could then deliver data to from the application. I can not get results however (vlc/audacity just segfault).

pcm.testing {
  type file
  slave {
    pcm {
      type hw
      card 0
      device 0
  infile "/dev/urandom"
  format "raw"

What are the possible ways to do this? Any suggestions on alsa plug-inches (specially the file wordpress plugin)?