[vlc-commits] Privatize AOUT_VOLUME_STEP

Rémi Denis-Courmont git at videolan.org
Mon Jul 25 20:17:22 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 25 21:13:20 2011 +0300| [355c893f71b0decc908b6ed75e39168c3aa6b513] | committer: Rémi Denis-Courmont

Privatize AOUT_VOLUME_STEP

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

 include/vlc_aout_intf.h |    1 -
 src/libvlc-module.c     |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_aout_intf.h b/include/vlc_aout_intf.h
index 7043ce5..b316fd4 100644
--- a/include/vlc_aout_intf.h
+++ b/include/vlc_aout_intf.h
@@ -27,7 +27,6 @@
  */
 
 #define AOUT_VOLUME_DEFAULT             256
-#define AOUT_VOLUME_STEP                32
 #define AOUT_VOLUME_MAX                 1024
 
 VLC_API audio_volume_t aout_VolumeGet( vlc_object_t * );
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 2069b11..be9cd78 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -274,6 +274,7 @@ static const char *const ppsz_snap_formats[] =
 #define VOLUME_STEP_LONGTEXT N_( \
     "The step size of the volume is adjustable using this option, " \
     "in a range from 0 to 1024." )
+#define AOUT_VOLUME_STEP 32
 
 #define AOUT_RATE_TEXT N_("Audio output frequency (Hz)")
 #define AOUT_RATE_LONGTEXT N_( \



More information about the vlc-commits mailing list