Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-29 Thread Caleb Crome
Clemens Ladisch wrote: Caleb Crome wrote: Clemens Ladisch wrote: However, Realplayer uses the OSS emulation through /dev/dsp0. To make that work with your "file" device, add the following to the config file: pcm.dsp0 = file Awesome! It works like a charm. Than you so much! The o

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-29 Thread Clemens Ladisch
Caleb Crome wrote: > Clemens Ladisch wrote: > >However, Realplayer uses the OSS emulation through /dev/dsp0. To make > >that work with your "file" device, add the following to the config > >file: > > > > pcm.dsp0 = file > > Awesome! It works like a charm. Than you so much! The one thing that >

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-28 Thread Caleb Crome
Clemens Ladisch wrote: Caleb Crome wrote: pcm.file { type file slave { pcm "hw:0,0" } file "/tmp/file.raw" } Alright, I did what you suggested, and real player comes up and connects to the dummy sound card (I had to do a modprobe snd-pcm-oss and snd-mixer-oss). However, I

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-26 Thread Clemens Ladisch
Caleb Crome wrote: > >>>pcm.file { > >>> type file > >>> slave { > >>> pcm "hw:0,0" > >>> } > >>> file "/tmp/file.raw" > >>>} > > Alright, I did what you suggested, and real player comes up and connects > to the dummy sound card (I had to do a modprobe snd-pcm-oss and > snd-mixer-oss)

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Caleb Crome
Caleb Crome wrote: Alright, I did what you suggested, and real player comes up and connects to the dummy sound card (I had to do a modprobe snd-pcm-oss and snd-mixer-oss). However, I don't get a file called /tmp/file.raw. Is there any way to check how the data is routed? Do I have to do any

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Clemens Ladisch
Caleb Crome wrote: > Arek Korbik wrote: > >pcm.file { > >type file > >slave { > >pcm "hw:0,0" > >} > >file "/tmp/file.raw" > >} > > 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, bu

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Takashi Iwai
At Thu, 22 Apr 2004 14:24:30 -0700, Caleb Crome wrote: > > 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 i

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-22 Thread Caleb Crome
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 co

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-22 Thread Arek Korbik
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

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-22 Thread Caleb Crome
StreamRipper: Close, but no cigar. That only works for MP3 streams, not for other streams, such as RealPlayer. I have looked at streamripper before and it doesn't do what I want as far as I can tell. In the case of RealPlayer, the audio goes from Real->PCM->MP3, which I admit isn't great fo

Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-22 Thread Paul Davis
>1) Open my Player, tune to my favorite station. Use my new device for >audio output. >2) do something like: dd if=/dev/audiocapturepcmout count=xxx | lame >--output myfile.mp3 streamripper is a much better option for this. its specially designed for this task. you are also talking about mp3->P

[Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-22 Thread Caleb Crome
Hello, I've looked through the archives and I couldn't find what I'm looking for, so here goes: 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),