[vlc-commits] qt: remove useless branches
Rémi Denis-Courmont
git at videolan.org
Sat May 12 14:44:05 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 12 15:38:55 2018 +0300| [49e1e9e42a6dfd9629e27bba4f820fb5cef0aaf2] | committer: Rémi Denis-Courmont
qt: remove useless branches
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49e1e9e42a6dfd9629e27bba4f820fb5cef0aaf2
---
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