[MPlayer-users] alsa5 driver not working (patch included)

Daniel Mario Vega dv5a at dc.uba.ar
Fri Mar 7 13:59:07 CET 2003


The alsa5 driver is not working on my machine:

 > alsa-init: error setting parameters: Invalid parameter

My configuration

- Sound Card: SoundBlaster Live! (EMU10K1)
- Alsa Kernel Driver 0.5.12a
- Alsa Libs 0.5.10b

This patch fixed the problem for me:

*** old/libao2/ao_alsa5.c       Fri Nov  1 14:46:42 2002
--- new/libao2/ao_alsa5.c       Sat Feb 15 04:32:31 2003
***************
*** 160,162 ****
       alsa_format.rate = ao_data.samplerate;
!     alsa_format.voices = ao_data.channels*2;
       alsa_format.interleave = 1;
--- 160,162 ----
       alsa_format.rate = ao_data.samplerate;
!     alsa_format.voices = ao_data.channels;
       alsa_format.interleave = 1;

-- 
Daniel Mario Vega
dv5a at dc.uba.ar



More information about the MPlayer-users mailing list