]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/controls.m
Merged OSD functionality on the same core functions. All OSD functionality is describ...
[vlc] / modules / gui / macosx / controls.m
index 6c0cd9c58b1f0aaed22fc8ee2f49c91c1788e907..605abd4869d85c18e403307acaa5956749561dfc 100644 (file)
@@ -34,7 +34,7 @@
 #include "vout.h"
 #include "open.h"
 #include "controls.h"
-#include <osd.h>
+#include <vlc_osd.h>
 
 /*****************************************************************************
  * VLCControls implementation 
 {
     intf_thread_t * p_intf = VLCIntf;
     audio_volume_t i_volume = (audio_volume_t)[sender intValue];
-    aout_VolumeSet( p_intf, i_volume * AOUT_VOLUME_STEP );
+    int i_volume_step = 0;
+    i_volume_step = config_GetInt( p_intf->p_vlc, "volume-step" );
+    aout_VolumeSet( p_intf, i_volume * i_volume_step );
     /* Manage volume status */
     [o_main manageVolumeSlider];
 }