[MPlayer-users] New ALSA lib causes MPlayer's configure to not detect ALSA

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Thu Nov 20 17:21:12 CET 2003


Jindrich Makovicka wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Stephen Stocker wrote:
> 
>> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>>   Still the same problem. The latest ALSA lib (CVS since Oct 29) will
>>   cause a failure to detect ALSA's presence. (All recent CVS releases of
>>   MPlayer).
> 
> 
>  > ...
> 
> The detection code probably misses ALSA 1.0pre because of MAJOR=1 and 
> MINOR=0.
> 
> Replacing return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)) with 
> something like
> 
> return (!((SND_LIB_MAJOR==0 && SND_LIB_MINOR==9) || (SND_LIB_MAJOR == 1)))
> 
> should make the autodetection work again.
> 

oops, there seem to be API changes too, I'll try to port the drivers.

-- 
Jindrich Makovicka



More information about the MPlayer-users mailing list