On Wed, 20 Feb 2002, Takashi Iwai wrote:

> At Mon, 18 Feb 2002 22:45:07 EST (-0500),
> Adam K Kirchhoff wrote:
> > 
> > 
> > I'm curious if anyone has gotten one of the ymfpci cards to work with
> > 
> > front and rear output with the OSS emulation?  Is it even supported at
> > 
> > this point?
> 
> (please note i myself didn't test the following:)
> 
> the rear pcm assigned to device #2.  so at first please check whether
> the driver really supports rear speakers by playing via hw:0,2, i.e.

It does....  Alsa has natively supported both the front and rear channels
for a number of months now, iirc.

>       % aplay -Dhw:0,2 foo.wav

Yep.  That works fine.

One of the first things I'm noticing now, however, is that the only Alsa
application that seems to use the rear speakers is aplay, and only when
specified.  For example, alsaplayer will still only use the front
speakers.

Now, is this something that needs to be set up in the .asoundrc file?  Is
this documented somewhere?

> if it's ok, please try to add the following option to snd-pcm-oss:
> 
>       options snd-pcm-oss snd_adsp_map=2
> 
> so that hw:0,2 is mapped to /dev/adsp.

Done.  But what exactly does this give me :-)  I hate to seem like an
idiot, but my only other experience with the alsa drivers is with a SB
Live! With the SB Live!, you don't need to take any extra steps to get
both the front and rear channels working.  I certainly don't remember
having to setup anything for /dev/adsp :-)

I see a couple references to adsp in the alsa-howto, but nothing that
really explains how to set it up and use it :-)

> The another possibility is to use ALSA OSS wrapper library.
> You can define like this in your ~/.asoundrc
> 
>       pcm.adsp0 pcm.rear
> 
> then run program via aoss wrapper.

Is this documented somewhere, too?  Searching for "aoss wrapper" in google
doesn't turn up anything, and the search mechanism on the Alsa homepage
seems to be broken (someone might want to remove it till it gets fixed)
:-) 

Sorry if I'm coming off as ignorant, but this is the one area where the
OSS ymf drivers are superiour to the Alsa drivers, and I'd love to be able
to get it working so I can stop having to switch back and forth between
the two :-)

Adam



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

Reply via email to