diff options
| author | Alexey Kutepov <[email protected]> | 2023-10-18 04:35:38 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-17 23:35:38 +0200 |
| commit | d7d04a07a28a80569f440459f2a1ca4ea2fe2497 (patch) | |
| tree | d0a0fd7056cec71fea56111cc4f5af2977188436 /src/raylib.h | |
| parent | 80432fde62a31ff5e7ad61f8a0352de9642cd97f (diff) | |
| download | raylib-d7d04a07a28a80569f440459f2a1ca4ea2fe2497.tar.gz raylib-d7d04a07a28a80569f440459f2a1ca4ea2fe2497.zip | |
[raudio] Implement GetMasterVolume() (#3434)
It feels a little unfinished when you can SetMasterVolume but can't
really Get it. So to finish the symmetry here is the GetMasterVolume
implementation.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index c03e0a57..331bf525 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1538,6 +1538,7 @@ RLAPI void InitAudioDevice(void); // Initial RLAPI void CloseAudioDevice(void); // Close the audio device and context RLAPI bool IsAudioDeviceReady(void); // Check if audio device has been initialized successfully RLAPI void SetMasterVolume(float volume); // Set master volume (listener) +RLAPI float GetMasterVolume(void); // Get master volume (listener) // Wave/Sound loading/unloading functions RLAPI Wave LoadWave(const char *fileName); // Load wave data from file |
