From 91b2dc2aa95bf86e477e289ab1abaac2d6419fe5 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 14 Feb 2020 17:13:37 +0100 Subject: [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. --- src/raylib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/raylib.h') 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) -- cgit v1.2.3