1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00

Show the actual ALSA version instead of the version mplayer was compiled

with, if possible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17691 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cladisch 2006-02-27 10:06:27 +00:00
parent 455e9d93fa
commit 434f6b2347

View File

@ -270,7 +270,11 @@ static int init(int rate_hz, int channels, int format, int flags)
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)
{