summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-02-09 22:19:48 +0100
committerRay <[email protected]>2017-02-09 22:19:48 +0100
commitb4988777ef60b312632602d7591ab508f0c90ab2 (patch)
tree9b115d23a956acf8f6451b575fbf6c50d242dfab /src/raylib.h
parent42d5e3bd24afe53097dfb4dcbedbe43dc24a4f88 (diff)
downloadraylib-b4988777ef60b312632602d7591ab508f0c90ab2.tar.gz
raylib-b4988777ef60b312632602d7591ab508f0c90ab2.zip
[audio] Renamed variable
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 907ef1e9..a5849180 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -953,7 +953,7 @@ RLAPI Wave LoadWave(const char *fileName); // Load wa
RLAPI Wave LoadWaveEx(void *data, int sampleCount, int sampleRate, int sampleSize, int channels); // Load wave data from raw array data
RLAPI Sound LoadSound(const char *fileName); // Load sound from file
RLAPI Sound LoadSoundFromWave(Wave wave); // Load sound from wave data
-RLAPI void UpdateSound(Sound sound, const void *data, int numSamples);// Update sound buffer with new data
+RLAPI void UpdateSound(Sound sound, const void *data, int samplesCount);// Update sound buffer with new data
RLAPI void UnloadWave(Wave wave); // Unload wave data
RLAPI void UnloadSound(Sound sound); // Unload sound
RLAPI void PlaySound(Sound sound); // Play a sound
@@ -984,7 +984,7 @@ RLAPI float GetMusicTimePlayed(Music music); // Get cur
RLAPI AudioStream InitAudioStream(unsigned int sampleRate,
unsigned int sampleSize,
unsigned int channels); // Init audio stream (to stream raw audio pcm data)
-RLAPI void UpdateAudioStream(AudioStream stream, const void *data, int numSamples); // Update audio stream buffers with data
+RLAPI void UpdateAudioStream(AudioStream stream, const void *data, int samplesCount); // Update audio stream buffers with data
RLAPI void CloseAudioStream(AudioStream stream); // Close audio stream and free memory
RLAPI bool IsAudioBufferProcessed(AudioStream stream); // Check if any audio stream buffers requires refill
RLAPI void PlayAudioStream(AudioStream stream); // Play audio stream