Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
34798:e3ceb73d4152 | 34799:b1b974133fa1 |
---|---|
87 if (!af_control_any_rev(mixer->afilter, | 87 if (!af_control_any_rev(mixer->afilter, |
88 AF_CONTROL_VOLUME_LEVEL | AF_CONTROL_SET, db_vals)) { | 88 AF_CONTROL_VOLUME_LEVEL | AF_CONTROL_SET, db_vals)) { |
89 mp_msg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoVolume); | 89 mp_msg(MSGT_GLOBAL, MSGL_ERR, MSGTR_NoVolume); |
90 return; | 90 return; |
91 } | 91 } |
92 soft_vol = 1; | |
92 } | 93 } |
93 } | 94 } |
94 } | 95 } |
95 } | 96 } |
96 } | 97 } |