17 Oct
2011
17 Oct
'11
11:56 a.m.
Hi, I want to same output of playback in a file.
We are developing IEC958 device but to debug want to save output of IEC958 plug in a file.
Please suggest how to do that?
You could use the "file" plugin. Extend your ~/.asoundrc with something like
pcm.write_file { type file slave { pcm hw:0 } file "/home/user/alsafile.wav" format "wav" }
Then use the "write_file" device for playback. E.g. for mplayer mplayer -ao alsa:device=write_file myvideo.mkv
Sebastian