diff options
| author | Ray <[email protected]> | 2017-02-09 22:19:48 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-02-09 22:19:48 +0100 |
| commit | b4988777ef60b312632602d7591ab508f0c90ab2 (patch) | |
| tree | 9b115d23a956acf8f6451b575fbf6c50d242dfab /src/audio.h | |
| parent | 42d5e3bd24afe53097dfb4dcbedbe43dc24a4f88 (diff) | |
| download | raylib-b4988777ef60b312632602d7591ab508f0c90ab2.tar.gz raylib-b4988777ef60b312632602d7591ab508f0c90ab2.zip | |
[audio] Renamed variable
Diffstat (limited to 'src/audio.h')
| -rw-r--r-- | src/audio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.h b/src/audio.h index 05ba1a1d..99b58e15 100644 --- a/src/audio.h +++ b/src/audio.h @@ -115,7 +115,7 @@ Wave LoadWave(const char *fileName); // Load wave dat 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 numSamples);// Update sound buffer with new data +void UpdateSound(Sound sound, const void *data, int samplesCount); // Update sound buffer with new data void UnloadWave(Wave wave); // Unload wave data void UnloadSound(Sound sound); // Unload sound void PlaySound(Sound sound); // Play a sound @@ -146,7 +146,7 @@ float GetMusicTimePlayed(Music music); // Get current m AudioStream InitAudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels); // Init audio stream (to stream raw audio pcm data) -void UpdateAudioStream(AudioStream stream, void *data, int numSamples); // Update audio stream buffers with data +void UpdateAudioStream(AudioStream stream, 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 void PlayAudioStream(AudioStream stream); // Play audio stream |
