diff options
| author | raysan5 <[email protected]> | 2015-09-01 22:59:16 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2015-09-01 22:59:16 +0200 |
| commit | e5fe2c216ec92d6ec2205fac10023b5a304f6f26 (patch) | |
| tree | c4d3927e89ae40ebbeabbfffdaed80e9d7ab0968 /examples/audio_music_stream.c | |
| parent | e93475d854279a99dc2cf296f8c9827bc2c36c09 (diff) | |
| download | raylib-e5fe2c216ec92d6ec2205fac10023b5a304f6f26.tar.gz raylib-e5fe2c216ec92d6ec2205fac10023b5a304f6f26.zip | |
Added some comments to examples
Diffstat (limited to 'examples/audio_music_stream.c')
| -rw-r--r-- | examples/audio_music_stream.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/audio_music_stream.c b/examples/audio_music_stream.c index 3add91da..e61d4839 100644 --- a/examples/audio_music_stream.c +++ b/examples/audio_music_stream.c @@ -4,10 +4,10 @@ * * NOTE: This example requires OpenAL Soft library installed * -* This example has been created using raylib 1.1 (www.raylib.com) +* This example has been created using raylib 1.3 (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) * -* Copyright (c) 2014 Ramon Santamaria (@raysan5) +* Copyright (c) 2015 Ramon Santamaria (@raysan5) * ********************************************************************************************/ @@ -61,9 +61,9 @@ int main() if (IsWindowMinimized()) PauseMusicStream(); else ResumeMusicStream(); - timePlayed = GetMusicTimePlayed() / GetMusicTimeLength() * 100 * 4; // We scale by 4 to fit 400 pixels + timePlayed = GetMusicTimePlayed()/GetMusicTimeLength()*100*4; // We scale by 4 to fit 400 pixels - UpdateMusicStream(); + UpdateMusicStream(); // Update music buffer with new stream data //---------------------------------------------------------------------------------- // Draw |
