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

Sylvain Petreolle spetreolle at yahoo.fr
Mon Mar 10 20:49:37 CET 2003


you really should consider an update of your alsa drivers...
0.9 rc8 is out !

 --- Daniel Mario Vega <dv5a at dc.uba.ar> a écrit : > [Automatic answer:
RTFM (read DOCS, FAQ), also read
> DOCS/bugreports.html]
> 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
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users 

=====
Sylvain Petreolle
spetreolle at users.sourceforge.net 
Fight Spam ! EuroCauce: http://www.euro.cauce.org/en/index.html
ICQ #170597259

"Don't think you are. Know you are." Morpheus, in "Matrix".

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the MPlayer-users mailing list