Complete review and update

Simplified module for Music and AudioStream
Added support for raw audio streaming (with example)
This commit is contained in:
raysan5 2016-08-02 17:32:24 +02:00
parent 58d2f70b7e
commit 68d647c1af
10 changed files with 283 additions and 127 deletions

View file

@ -59,9 +59,6 @@ int main()
SetMusicVolume(volume);
}
*/
if (IsWindowMinimized()) PauseMusicStream(music);
else ResumeMusicStream(music);
timePlayed = GetMusicTimePlayed(music)/GetMusicTimeLength(music)*100*4; // We scale by 4 to fit 400 pixels
UpdateMusicStream(music); // Update music buffer with new stream data