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

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Thu Nov 20 16:50:37 CET 2003


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.

-- 
Jindrich Makovicka



More information about the MPlayer-users mailing list