diff options
| author | Joshua Reisenauer <[email protected]> | 2016-05-11 22:37:53 -0700 |
|---|---|---|
| committer | Joshua Reisenauer <[email protected]> | 2016-05-11 22:37:53 -0700 |
| commit | f0ada8c40d7887654d05c62f980a0a5473c1d8a7 (patch) | |
| tree | 8857ed0c6c17503837fba1a11e0ab51f3c38fdfc /src/audio.h | |
| parent | 9737c58054d5d0cc636fca0c998b31a69d501970 (diff) | |
| download | raylib-f0ada8c40d7887654d05c62f980a0a5473c1d8a7.tar.gz raylib-f0ada8c40d7887654d05c62f980a0a5473c1d8a7.zip | |
apply index to remaining functions
Diffstat (limited to 'src/audio.h')
| -rw-r--r-- | src/audio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio.h b/src/audio.h index d09c4acc..63c1c136 100644 --- a/src/audio.h +++ b/src/audio.h @@ -101,14 +101,14 @@ void SetSoundVolume(Sound sound, float volume); // Set volume fo void SetSoundPitch(Sound sound, float pitch); // Set pitch for a sound (1.0 is base level) int PlayMusicStream(int musicIndex, char *fileName); // Start music playing (open stream) -void UpdateMusicStream(void); // Updates buffers for music streaming +void UpdateMusicStream(int index); // Updates buffers for music streaming void StopMusicStream(int index); // Stop music playing (close stream) void PauseMusicStream(int index); // Pause music playing void ResumeMusicStream(int index); // Resume playing paused music bool IsMusicPlaying(int index); // Check if music is playing void SetMusicVolume(int index, float volume); // Set volume for music (1.0 is max level) -float GetMusicTimeLength(void); // Get music time length (in seconds) -float GetMusicTimePlayed(void); // Get current music time played (in seconds) +float GetMusicTimeLength(int index); // Get music time length (in seconds) +float GetMusicTimePlayed(int index); // Get current music time played (in seconds) int getMusicStreamCount(void); void SetMusicPitch(int index, float pitch); |
