[vlc-commits] aout_VolumeGet: return volume directly

Rémi Denis-Courmont git at videolan.org
Thu Apr 7 22:21:32 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr  7 23:03:43 2011 +0300| [7fca2ae32bac340201f72ebf6cb43a5731358114] | committer: Rémi Denis-Courmont

aout_VolumeGet: return volume directly

Only two call sites checked for errors. Anyway, the implementation does
not check for errors.

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

 include/vlc_aout.h                               |    4 ++--
 modules/control/dbus/dbus_player.c               |    6 ++----
 modules/control/http/http.c                      |    2 +-
 modules/control/http/macro.c                     |    2 +-
 modules/control/http/rpn.c                       |    4 ++--
 modules/control/rc.c                             |    9 +++------
 modules/gui/macosx/intf.m                        |    2 +-
 modules/gui/ncurses.c                            |    2 +-
 modules/gui/qt4/components/controller_widget.cpp |    2 +-
 modules/gui/skins2/src/vlcproc.cpp               |    6 ++----
 modules/gui/skins2/vars/volume.cpp               |    4 +---
 modules/lua/libs/volume.c                        |    7 ++-----
 src/audio_output/intf.c                          |   15 ++++-----------
 src/control/audio.c                              |    4 +---
 src/text/strings.c                               |    3 +--
 15 files changed, 25 insertions(+), 47 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=7fca2ae32bac340201f72ebf6cb43a5731358114


More information about the vlc-commits mailing list