Mercurial > mplayer.hg
changeset 17690:9ca95aee8449
Show the actual ALSA version instead of the version mplayer was compiled
with, if possible.
author | cladisch |
---|---|
date | Mon, 27 Feb 2006 10:06:27 +0000 |
parents | 351c4f61140f |
children | b73103a82416 |
files | libao2/ao_alsa.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_alsa.c Sun Feb 26 12:39:17 2006 +0000 +++ b/libao2/ao_alsa.c Mon Feb 27 10:06:27 2006 +0000 @@ -270,7 +270,11 @@ mp_msg(MSGT_AO,MSGL_V,"alsa-init: requested format: %d Hz, %d channels, %x\n", rate_hz, channels, format); alsa_handler = NULL; +#if SND_LIB_VERSION >= 0x010005 + mp_msg(MSGT_AO,MSGL_V,"alsa-init: using ALSA %s\n", snd_asoundlib_version()); +#else mp_msg(MSGT_AO,MSGL_V,"alsa-init: compiled for ALSA-%s\n", SND_LIB_VERSION_STR); +#endif if ((err = snd_card_next(&cards)) < 0 || cards < 0) {