diff options
| author | Joshua Reisenauer <[email protected]> | 2016-05-11 20:15:37 -0700 |
|---|---|---|
| committer | Joshua Reisenauer <[email protected]> | 2016-05-11 20:15:37 -0700 |
| commit | 9737c58054d5d0cc636fca0c998b31a69d501970 (patch) | |
| tree | df4dc65349c893ac125ae7e5fca8cf4e60bed57c /src/audio.h | |
| parent | 529d20ee6a29528a0da456be4f08eb7caa56df21 (diff) | |
| download | raylib-9737c58054d5d0cc636fca0c998b31a69d501970.tar.gz raylib-9737c58054d5d0cc636fca0c998b31a69d501970.zip | |
PlayMusicStream now uses index
Diffstat (limited to 'src/audio.h')
| -rw-r--r-- | src/audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.h b/src/audio.h index fef85b4f..d09c4acc 100644 --- a/src/audio.h +++ b/src/audio.h @@ -100,7 +100,7 @@ bool IsSoundPlaying(Sound sound); // Check if a so void SetSoundVolume(Sound sound, float volume); // Set volume for a sound (1.0 is max level) void SetSoundPitch(Sound sound, float pitch); // Set pitch for a sound (1.0 is base level) -void PlayMusicStream(char *fileName); // Start music playing (open stream) +int PlayMusicStream(int musicIndex, char *fileName); // Start music playing (open stream) void UpdateMusicStream(void); // Updates buffers for music streaming void StopMusicStream(int index); // Stop music playing (close stream) void PauseMusicStream(int index); // Pause music playing |
