mirror of
https://github.com/mpv-player/mpv
synced 2025-03-24 20:31:37 +00:00
1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12689 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7cad1e9951
commit
f238f58d93
2
mixer.c
2
mixer.c
@ -45,7 +45,7 @@ void mixer_setvolume(mixer_t *mixer, float l, float r)
|
|||||||
vol.right=r; vol.left=l;
|
vol.right=r; vol.left=l;
|
||||||
if(mixer->audio_out){
|
if(mixer->audio_out){
|
||||||
if(CONTROL_OK != mixer->audio_out->control(AOCONTROL_SET_VOLUME,&vol)) {
|
if(CONTROL_OK != mixer->audio_out->control(AOCONTROL_SET_VOLUME,&vol)) {
|
||||||
if (mixer->afilter)
|
if (!mixer->afilter)
|
||||||
return;
|
return;
|
||||||
else {
|
else {
|
||||||
// af_volume uses values in dB
|
// af_volume uses values in dB
|
||||||
|
Loading…
Reference in New Issue
Block a user