Uhm, I don't know how to solve your problem, but if what you want is possible
it's (also) possible with ALSA 0.9.0rc1 . And note this from 
www.alsa-project.org:

*** N.B. The 0.5.x series is considered deprecated and is no longer supported 
by ALSA developers ***

On Tue, 21 May 2002 09:59:26 +0700
Alain Fauconnet <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> I have Alsa 0.5.12a running on a Linux 2.2.19 box with a Yamaha  DS-XG
> PCI (YMF754) based PCI card.
> 
> I can play fine. OSS devices mapping works OK  for  playback  as  well
> (using Real Player etc.).
> 
> Now I would like to use Speak  Freely.  This  programs  talks  to  the
> OSS  /dev/audio  device.  I  cannot get any input from the microphone.
> Alsa mixer settings are OK since I can record using:
> 
> arecord -d2 file.wav
> 
> and play it back.
> 
> I  suspect  that  the problem is that Microphone input somehow maps to
> device  #2  (see -d2 option above, needed) and that /dev/audio maps
> only device #0.
> 
> I have tried:
> 
> insmod /lib/modules/2.2.19/misc/snd-pcm-oss.o snd_dsp_map=2
> 
> to alter the mapping.  Recording  from  /dev/audio  or  /dev/dsp  then
> works, but I loose the playback device:
> 
> cat foo.au >/dev/audio
> /dev/audio: No such device.
> 
> I also have tried:
> 
> insmod /lib/modules/2.2.19/misc/snd-pcm-oss.o snd_dsp_map=0 snd_adsp_map=2
> 
> but then I can't find any /dev/audio to use to point to the equivalent
> of  /dev/adsp.  Furthermore, in this case, recording from /dev/adsp is
> horribly distorted (although recording from /dev/dsp works OK when I use
> snd_dsp_map=2)
> 
> I'm stuck here... considering doing a dirty  hack  into  pcm_oss.c  to
> hardcode  device mapping... ugly... Not even sure this is possible.
> There *has* to be something better to do !
> 
> Any help will be greatly appreciated.
> 
> Greets,
> _Alain_

Good luck!

    -Frans

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to