diff mixer.c @ 34799:b1b974133fa1

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.
author reimar
date Sun, 06 May 2012 09:08:12 +0000
parents a93891202051
children 3a9a804e488b
line wrap: on
line diff
--- 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;
           }
 	}
       }