* How to save playback out in a file too
@ 2011-10-17 6:45 ajay khandelwal
2011-10-17 9:56 ` Sebastian H.
0 siblings, 1 reply; 2+ messages in thread
From: ajay khandelwal @ 2011-10-17 6:45 UTC (permalink / raw)
To: alsa-devel
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?
Best Regards,
Ajay
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to save playback out in a file too
2011-10-17 6:45 How to save playback out in a file too ajay khandelwal
@ 2011-10-17 9:56 ` Sebastian H.
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian H. @ 2011-10-17 9:56 UTC (permalink / raw)
To: ajay khandelwal; +Cc: alsa-devel
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-17 10:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 6:45 How to save playback out in a file too ajay khandelwal
2011-10-17 9:56 ` Sebastian H.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.