OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_SystemAudioVolume.h>
Static Public Member Functions | |
static float JUCE_CALLTYPE | getGain () |
static bool JUCE_CALLTYPE | setGain (float newGain) |
static bool JUCE_CALLTYPE | isMuted () |
static bool JUCE_CALLTYPE | setMuted (bool shouldBeMuted) |
Contains functions to control the system's master volume.
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 247 of file juce_audio_devices.cpp.
|
static |
Returns true if the system's audio output is currently muted.
Definition at line 249 of file juce_audio_devices.cpp.
Attempts to set the operating system's current volume level.
newGain | the level, between 0 and 1.0 |
Definition at line 248 of file juce_audio_devices.cpp.
Attempts to mute the operating system's audio output.
shouldBeMuted | true if you want it to be muted |
Definition at line 250 of file juce_audio_devices.cpp.