# HG changeset patch # User reimar # Date 1336295292 0 # Node ID b1b974133fa1d2374bb0201a42c5d63c0f4e5aa3 # Parent e3ceb73d4152603f9f640a7c44372d88e974a716 Avoid repeating mixer error messages from ao. This avoids continuous printing of e.g. "[AO_ALSA] Unable to find simple control 'PCM',0." even after MPlayer switched to software volume control. diff -r e3ceb73d4152 -r b1b974133fa1 mixer.c --- a/mixer.c Sun May 06 08:44:28 2012 +0000 +++ b/mixer.c Sun May 06 09:08:12 2012 +0000 @@ -89,6 +89,7 @@ mp_msg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoVolume); return; } + soft_vol = 1; } } }