From: "Sebastian H." <vand2@gmx.de>
To: ajay khandelwal <ajay.lforum@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: How to save playback out in a file too
Date: Mon, 17 Oct 2011 11:56:57 +0200 [thread overview]
Message-ID: <4E9BFBE9.1050103@gmx.de> (raw)
In-Reply-To: <CAL7V=_Hv+s8kbv3mVLnP2djAGe4nUSdQM76OicgLExZQfjWcug@mail.gmail.com>
> 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
prev parent reply other threads:[~2011-10-17 10:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 6:45 How to save playback out in a file too ajay khandelwal
2011-10-17 9:56 ` Sebastian H. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E9BFBE9.1050103@gmx.de \
--to=vand2@gmx.de \
--cc=ajay.lforum@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.