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 don't get a file called /tmp/file.raw.
   

You have to configure the program to use the PCM named file instead
of the default default.
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

and try to run realplayer with the aoss script from the alsa-oss
package.
HTH
Clemens
 

Awesome!  It works like a charm.  Than you so much!  The one thing that 
doesn't work quite right is that I get the following error when 
RealPlayer attempts to access the mixer:

ALSA lib control.c:601:(snd_ctl_open_noupdate) Invalid CTL mixer0

Is there a simple way to get it to control the mixer?  Currently, I have 
to bring up alsamixergui to turn up the volume.

Thanks again,
 -Caleb Crome
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


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 anything to make .asoundrc get reread?

Thanks again,
  -Caleb
Clemens Ladisch wrote:

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, but it seems to take parameters.
  


Put it into your ~/.asoundrc file, or into /etc/asound.conf for all
users.
 

Since I have no sound card, how do I configure my system to use
the dummy PCM driver and use the pcm.file plugin?
  


modprobe snd-dummy should work.

HTH
Clemens


---
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
[EMAIL PROTECTED]
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
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel