diff options
| author | Gabriel B. Sant'Anna <[email protected]> | 2020-06-29 21:48:11 -0300 |
|---|---|---|
| committer | Gabriel B. Sant'Anna <[email protected]> | 2020-07-13 03:01:47 -0300 |
| commit | 2e9c9b356d33d60f72d16861a2939e7f8e4546f8 (patch) | |
| tree | 957e6b85bca59d8b4aa5e874b279567fad34fc0d /cheatsheet/raylib_audio.c | |
| parent | a85aff953169654c5b4af1f6b41afb09d8c5d238 (diff) | |
| download | raylib.com-2e9c9b356d33d60f72d16861a2939e7f8e4546f8.tar.gz raylib.com-2e9c9b356d33d60f72d16861a2939e7f8e4546f8.zip | |
Remove some inconsistencies in the cheatsheet
See issue #11 for details.
Diffstat (limited to 'cheatsheet/raylib_audio.c')
| -rw-r--r-- | cheatsheet/raylib_audio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cheatsheet/raylib_audio.c b/cheatsheet/raylib_audio.c index eaa3585..e6f9793 100644 --- a/cheatsheet/raylib_audio.c +++ b/cheatsheet/raylib_audio.c @@ -7,7 +7,6 @@ // Wave/Sound loading/unloading functions Wave LoadWave(const char *fileName); // Load wave data from file - Wave LoadWaveEx(void *data, int sampleCount, int sampleRate, int sampleSize, int channels); // Load wave data from raw array data Sound LoadSound(const char *fileName); // Load sound from file Sound LoadSoundFromWave(Wave wave); // Load sound from wave data void UpdateSound(Sound sound, const void *data, int samplesCount); // Update sound buffer with new data @@ -51,7 +50,7 @@ AudioStream InitAudioStream(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 IsAudioBufferProcessed(AudioStream stream); // Check if any audio stream buffers requires refill + bool IsAudioStreamProcessed(AudioStream stream); // Check if any audio stream buffers requires refill void PlayAudioStream(AudioStream stream); // Play audio stream void PauseAudioStream(AudioStream stream); // Pause audio stream void ResumeAudioStream(AudioStream stream); // Resume audio stream @@ -59,4 +58,4 @@ void StopAudioStream(AudioStream stream); // Stop audio stream void SetAudioStreamVolume(AudioStream stream, float volume); // Set volume for audio stream (1.0 is max level) void SetAudioStreamPitch(AudioStream stream, float pitch); // Set pitch for audio stream (1.0 is base level) - + void SetAudioStreamBufferSizeDefault(int size); // Default size for new audio streams |
