diff options
| author | NimbusFox <[email protected]> | 2022-05-28 19:50:02 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-28 19:50:02 +0100 |
| commit | 808ea43840de6e5d14848a44fe4b6b0e82fd4f9f (patch) | |
| tree | 44f9370ae82411f7d9cd96ee34b6651b9b5fdc2a /cheatsheet | |
| parent | d8f0da54241d487446d42e4a9998a9c889f7ff36 (diff) | |
| download | raylib.com-808ea43840de6e5d14848a44fe4b6b0e82fd4f9f.tar.gz raylib.com-808ea43840de6e5d14848a44fe4b6b0e82fd4f9f.zip | |
Fixing mistake I made
Thanks @Peter0x44
Diffstat (limited to 'cheatsheet')
| -rw-r--r-- | cheatsheet/raylib_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cheatsheet/raylib_audio.c b/cheatsheet/raylib_audio.c index 3ced14c..b7a1450 100644 --- a/cheatsheet/raylib_audio.c +++ b/cheatsheet/raylib_audio.c @@ -1,6 +1,6 @@ // Audio device management functions - void LoadAudioDevice(void); // Initialize audio device and context + void InitAudioDevice(void); // Initialize audio device and context void CloseAudioDevice(void); // Close the audio device and context bool IsAudioDeviceReady(void); // Check if audio device has been initialized successfully void SetMasterVolume(float volume); // Set master volume (listener) @@ -50,7 +50,7 @@ float GetMusicTimePlayed(Music music); // Get current music time played (in seconds) // AudioStream management functions - AudioStream InitAudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels); // Init audio stream (to stream raw audio pcm data) + AudioStream LoadAudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels); // Init audio stream (to stream raw audio pcm data) void UpdateAudioStream(AudioStream stream, const void *data, int samplesCount); // Update audio stream buffers with data void CloseAudioStream(AudioStream stream); // Close audio stream and free memory bool IsAudioStreamProcessed(AudioStream stream); // Check if any audio stream buffers requires refill |
