On 28 Feb 2003, Brad Hilton wrote:

> On Fri, 2003-02-28 at 12:35, Jaroslav Kysela wrote:
> > On Fri, 28 Feb 2003, Brad Hilton wrote:
> > 
> > > Jaroslav Kysela wrote:
> > > > On 27 Feb 2003, Brad Hilton wrote:
> > > >>Can someone tell me if it's possible to remap the 'default' alsa device
> > > >>to actually use a plugin?
> > > >>
> > > > ============== CUT HERE ===============
> > > > # override pcm.default definition from /usr/share/alsa/alsa.conf
> > > > pcm.!default {
> > > >         type plug
> > > >         slave.pcm "dmix"
> > > > }
> > > > ============== CUT HERE ===============
> 
> One more question: with this in place, should alsa-enabled applications
> "just work?"  aplay works beautifully, but all of my other apps (xmms,
> xine, mplayer) have trouble.  Does plug:dmix act differently such that
> other apps might not be able to use it?

If application is correctly written, it should work.

> For example, "mplayer -ao alsa9:default <some_file>" gives:
> 
> alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
> (Little-Endian)
> alsa-init: soundcard set to default
> alsa-init: unable to set periodsize: Invalid argument
> Could not open/initialize audio device -> no sound.

> xmms starts up but I get no audio output.

It probably doesn't use snd_pcm_poll_descriptors_revents() function to 
translate poll result. It violates with ALSA API definition.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to