|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Contains functions to control the system's master volume. More...
#include "juce_SystemAudioVolume.h"
Static Public Member Functions | |
| static float JUCE_CALLTYPE | getGain () |
| Returns the operating system's current volume level in the range 0 to 1.0. | |
| static bool JUCE_CALLTYPE | setGain (float newGain) |
| Attempts to set the operating system's current volume level. | |
| static bool JUCE_CALLTYPE | isMuted () |
| Returns true if the system's audio output is currently muted. | |
| static bool JUCE_CALLTYPE | setMuted (bool shouldBeMuted) |
| Attempts to mute the operating system's audio output. | |
Contains functions to control the system's master volume.
@tags{Audio}
Definition at line 32 of file juce_SystemAudioVolume.h.
|
static |
Returns the operating system's current volume level in the range 0 to 1.0.
Definition at line 253 of file juce_audio_devices.cpp.
|
static |
Returns true if the system's audio output is currently muted.
Definition at line 255 of file juce_audio_devices.cpp.
|
static |
Attempts to set the operating system's current volume level.
| newGain | the level, between 0 and 1.0 |
Definition at line 254 of file juce_audio_devices.cpp.
|
static |
Attempts to mute the operating system's audio output.
| shouldBeMuted | true if you want it to be muted |
Definition at line 256 of file juce_audio_devices.cpp.