Mercurial > mplayer.hg
diff gui/interface.c @ 27390:9d95dc936e66
Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
Use it in all the places that checked for either ALSA 0.9 or 1.x.
| author | diego |
|---|---|
| date | Wed, 06 Aug 2008 23:19:29 +0000 |
| parents | eb7bdbd98210 |
| children | 4876c89bafdd |
line wrap: on
line diff
--- a/gui/interface.c Wed Aug 06 07:50:44 2008 +0000 +++ b/gui/interface.c Wed Aug 06 23:19:29 2008 +0000 @@ -842,7 +842,7 @@ free(tmp); } #endif -#if defined(CONFIG_ALSA9) || defined (CONFIG_ALSA1X) +#ifdef CONFIG_ALSA if ( audio_driver_list && !gstrncmp( audio_driver_list[0],"alsa",4 ) ) { char *tmp;
