[vlc-commits] qt: remove useless branches

Rémi Denis-Courmont git at videolan.org
Sat May 12 14:43:39 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 12 15:38:55 2018 +0300| [82cfb6c911733621e0758b5da4f4ad480346caf5] | committer: Rémi Denis-Courmont

qt: remove useless branches

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

 modules/gui/qt/components/simple_preferences.cpp | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp
index da2fea5ee8..b48ea7b67f 100644
--- a/modules/gui/qt/components/simple_preferences.cpp
+++ b/modules/gui/qt/components/simple_preferences.cpp
@@ -153,9 +153,6 @@ static int getDefaultAudioVolume(const char *aout)
         return config_GetFloat("mmdevice-volume") * 100.f + .5f;
     else
 #endif
-    if (!strcmp(aout, "sndio"))
-        return -1;
-    else
 #ifdef __APPLE__
     if (!strcmp(aout, "auhal") && module_exists("auhal"))
         return (config_GetFloat("auhal-volume") * 100.f + .5f)
@@ -175,9 +172,6 @@ static int getDefaultAudioVolume(const char *aout)
         return cbrtf(config_GetFloat("kai-gain")) * 100.f + .5f;
     else
 #endif
-    if (!strcmp(aout, "oss"))
-        return -1;
-    else
 #ifdef _WIN32
     if (!strcmp(aout, "waveout"))
         return config_GetFloat("waveout-volume") * 100.f + .5f;



More information about the vlc-commits mailing list