From: Caleb Crome <alsa@crome.org>
To: Arek Korbik <arek.korbik@eee.strath.ac.uk>
Cc: Caleb Crome <alsa@crome.org>,
ALSA Devel <alsa-devel@lists.sourceforge.net>
Subject: Re: How do create a dummy device for recording audio? Does it exist already?
Date: Thu, 22 Apr 2004 14:24:30 -0700 [thread overview]
Message-ID: <4088380E.7070004@crome.org> (raw)
In-Reply-To: <1082665995.2539.28.camel@deeli.eee.strath.ac.uk>
Arek,
That looks like what I want. However, I'm sorry to be such an
ignoramus -- what do I do with that bit of configuration data? I found
the /usr/share/alsa/alsa.conf, and there is a similar pcm.file entry in
that, but it seems to take parameters. Since I have no sound card, how
do I configure my system to use the dummy PCM driver and use the
pcm.file plugin?
Sorry to the developer community -- this is a user question. I'll move
the thread over there if it continues on.
Thanks,
-Caleb
Arek Korbik wrote:
>On Thu, 2004-04-22 at 14:44, Caleb Crome wrote:
>
>
>>I'd like to create a dummy audio device that can record the PCM data
>>written to it into a file. So, the dummy device would appear as a sound
>>card to the audio program (Real Player for example), and start dumping
>>
>>
>
>How about 'file' type plugin? For example:
>
>pcm.file {
> type file
> slave {
> pcm "hw:0,0"
> }
> file "/tmp/file.raw"
>}
>
>
>>audio into a file, or maybe it would create another device that could be
>>read simply by 'dd' or some custom command. Then I'd pipe the data into
>>
>>
>
>It works with named pipes as well.
>
>http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_file
>
>Arek
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
>For a limited time only, get FREE Ground shipping on all orders of $35
>or more. Hurry up and shop folks, this offer expires April 30th!
>http://www.thinkgeek.com/freeshipping/?cpg=12297
>_______________________________________________
>Alsa-devel mailing list
>Alsa-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
next prev parent reply other threads:[~2004-04-22 21:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 13:44 How do create a dummy device for recording audio? Does it exist already? Caleb Crome
2004-04-22 14:50 ` Paul Davis
2004-04-22 17:14 ` Caleb Crome
2004-04-22 20:33 ` Arek Korbik
2004-04-22 21:24 ` Caleb Crome [this message]
2004-04-23 10:41 ` Takashi Iwai
2004-04-23 15:56 ` Clemens Ladisch
[not found] ` <4089663E.4000200@crome.org>
2004-04-23 21:00 ` Caleb Crome
2004-04-26 16:29 ` Clemens Ladisch
2004-04-28 20:42 ` Caleb Crome
2004-04-29 8:37 ` Clemens Ladisch
2004-04-29 15:41 ` Caleb Crome
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=4088380E.7070004@crome.org \
--to=alsa@crome.org \
--cc=alsa-devel@lists.sourceforge.net \
--cc=arek.korbik@eee.strath.ac.uk \
/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.