(Android) Disabled the system volume slider in the Sound Settings menu

This commit is contained in:
Leon Styhre 2023-12-24 00:05:39 +01:00
parent 458560bcd9
commit 10be1e1104

View file

@ -1008,9 +1008,9 @@ void GuiMenu::openSoundOptions()
{ {
auto s = new GuiSettings("SOUND SETTINGS"); auto s = new GuiSettings("SOUND SETTINGS");
// TODO: Hide the volume slider on macOS and BSD Unix until the volume control logic has been // TODO: Implement volume slider logic for macOS and Android.
// implemented for these operating systems. #if !defined(__APPLE__) && !defined(__ANDROID__) && !defined(__FreeBSD__) && \
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) !defined(__OpenBSD__) && !defined(__NetBSD__)
// System volume. // System volume.
// The reason to create the VolumeControl object every time instead of making it a singleton // The reason to create the VolumeControl object every time instead of making it a singleton
// is that this is the easiest way to detect new default audio devices or changes to the // is that this is the easiest way to detect new default audio devices or changes to the