diff options
| author | Ray San <[email protected]> | 2017-02-08 20:02:40 +0100 |
|---|---|---|
| committer | Ray San <[email protected]> | 2017-02-08 20:02:40 +0100 |
| commit | 836c1636a2b5d7779c69cbb633a9ac690d54ef90 (patch) | |
| tree | 9306e150f289f1c7696f80951069b0a2d45b8293 /src/audio.h | |
| parent | 1f6eb1fc61d2cc0cca54a79c1516432f09c86313 (diff) | |
| download | raylib-836c1636a2b5d7779c69cbb633a9ac690d54ef90.tar.gz raylib-836c1636a2b5d7779c69cbb633a9ac690d54ef90.zip | |
Remove lighting system from rlgl standalone header
Diffstat (limited to 'src/audio.h')
| -rw-r--r-- | src/audio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio.h b/src/audio.h index 6f0c235a..05ba1a1d 100644 --- a/src/audio.h +++ b/src/audio.h @@ -109,6 +109,7 @@ extern "C" { // Prevents name mangling of functions void InitAudioDevice(void); // Initialize audio device and context void CloseAudioDevice(void); // Close the audio device and context bool IsAudioDeviceReady(void); // Check if audio device has been initialized successfully +void SetMasterVolume(float volume); // Set master volume (listener) 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 @@ -138,6 +139,7 @@ void ResumeMusicStream(Music music); // Resume playin bool IsMusicPlaying(Music music); // Check if music is playing void SetMusicVolume(Music music, float volume); // Set volume for music (1.0 is max level) void SetMusicPitch(Music music, float pitch); // Set pitch for a music (1.0 is base level) +void SetMusicLoopCount(Music music, float count); // Set music loop count (loop repeats) float GetMusicTimeLength(Music music); // Get music time length (in seconds) float GetMusicTimePlayed(Music music); // Get current music time played (in seconds) |
