[vlc-commits] aout: remove duplicated setting of "volume"

Rémi Denis-Courmont git at videolan.org
Sat Jul 21 16:14:55 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 21 17:05:26 2012 +0300| [091d98306cac6a36b98d3add2e215062704f14e7] | committer: Rémi Denis-Courmont

aout: remove duplicated setting of "volume"

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=091d98306cac6a36b98d3add2e215062704f14e7
---

 src/audio_output/intf.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 8726b62..282d0aa 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -96,11 +96,6 @@ int aout_VolumeSet (vlc_object_t *obj, float vol)
         aout_unlock (aout);
         vlc_object_release (aout);
     }
-
-    if (ret == 0)
-    {   /* update caller (input manager) volume */
-        var_SetInteger (obj, "volume", volume);
-    }
     return ret;
 }
 



More information about the vlc-commits mailing list