diff options
| author | Ray <[email protected]> | 2020-02-14 17:13:37 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-14 17:13:37 +0100 |
| commit | 91b2dc2aa95bf86e477e289ab1abaac2d6419fe5 (patch) | |
| tree | 9d0ee05149ab96fa005859f43b23ceca1dc064ac /src/raylib.h | |
| parent | 7459a5c6ef4623c64a51358ff2eaf16b948dece8 (diff) | |
| download | raylib-91b2dc2aa95bf86e477e289ab1abaac2d6419fe5.tar.gz raylib-91b2dc2aa95bf86e477e289ab1abaac2d6419fe5.zip | |
[raudio] ADDED: SetAudioStreamBufferSizeDefault()
There could be some cases where we need to define the internal audio buffer size, now it's possible.
RENAMED: InitAudioBuffer() to LoadAudioBuffer()
RENAMED: CloseAudioBuffer() to UnloadAudioBuffer()
Renamed some defines and reviewed some comments.
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 1ca2ed0a..fa76b4e1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1428,6 +1428,7 @@ RLAPI bool IsAudioStreamPlaying(AudioStream stream); // Check i RLAPI void StopAudioStream(AudioStream stream); // Stop audio stream RLAPI void SetAudioStreamVolume(AudioStream stream, float volume); // Set volume for audio stream (1.0 is max level) RLAPI void SetAudioStreamPitch(AudioStream stream, float pitch); // Set pitch for audio stream (1.0 is base level) +RLAPI void SetAudioStreamBufferSizeDefault(int size); // Default size for new audio streams //------------------------------------------------------------------------------------ // Network (Module: network) |
