changeset 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 e3ceb73d4152
children 3af74fef9708
files mixer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
           }
 	}
       }