summaryrefslogtreecommitdiffhomepage
path: root/examples/audio_module_playing.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-12-25 01:58:56 +0100
committerraysan5 <[email protected]>2016-12-25 01:58:56 +0100
commit5de597579feff50ab63ba4285984b64473241c46 (patch)
treed32d299bbdf39f3317d59482d3269f0c3988fbc2 /examples/audio_module_playing.c
parent4419ee9802d7a45929fb4ecae2163d12fb44f2a7 (diff)
downloadraylib-5de597579feff50ab63ba4285984b64473241c46.tar.gz
raylib-5de597579feff50ab63ba4285984b64473241c46.zip
Complete review of audio module
Diffstat (limited to 'examples/audio_module_playing.c')
-rw-r--r--examples/audio_module_playing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/audio_module_playing.c b/examples/audio_module_playing.c
index 4582a561..08ae2b05 100644
--- a/examples/audio_module_playing.c
+++ b/examples/audio_module_playing.c
@@ -86,7 +86,7 @@ int main()
}
// Get timePlayed scaled to bar dimensions
- timePlayed = (GetMusicTimePlayed(xm)/GetMusicTimeLength(xm)*(screenWidth - 40))*2;
+ timePlayed = GetMusicTimePlayed(xm)/GetMusicTimeLength(xm)*(screenWidth - 40);
// Color circles animation
for (int i = MAX_CIRCLES - 1; (i >= 0) && !pause; i--)