[MPlayer-cvslog] r34887 - trunk/mixer.c

reimar subversion at mplayerhq.hu
Sun May 6 11:08:12 CEST 2012


Author: reimar
Date: Sun May  6 11:08:12 2012
New Revision: 34887

Log:
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.

Modified:
   trunk/mixer.c

Modified: trunk/mixer.c
==============================================================================
--- trunk/mixer.c	Sun May  6 10:44:28 2012	(r34886)
+++ trunk/mixer.c	Sun May  6 11:08:12 2012	(r34887)
@@ -89,6 +89,7 @@ void mixer_setvolume(mixer_t *mixer, flo
               mp_msg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoVolume);
               return;
             }
+            soft_vol = 1;
           }
 	}
       }


More information about the MPlayer-cvslog mailing list