summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
diff options
context:
space:
mode:
authorWilhem Barbier <[email protected]>2019-05-23 16:40:15 +0200
committerWilhem Barbier <[email protected]>2019-05-23 16:40:15 +0200
commitdec604bd71dccb04a768c33b15cecb573644c10a (patch)
treee60b56d58d84c2774588c7960fe15e2c07c75534 /src/raudio.c
parent78817305c5165b31a60e954bf8f26acc5a57c1ff (diff)
downloadraylib-dec604bd71dccb04a768c33b15cecb573644c10a.tar.gz
raylib-dec604bd71dccb04a768c33b15cecb573644c10a.zip
Move jar_xm_reset to jar_xm.h
Diffstat (limited to 'src/raudio.c')
-rw-r--r--src/raudio.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/raudio.c b/src/raudio.c
index 002d89d7..6ac0110c 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -1314,20 +1314,6 @@ void ResumeMusicStream(Music music)
if (music != NULL) ResumeAudioStream(music->stream);
}
-void jar_xm_reset(jar_xm_context_t* ctx)
-{
- // I don't know what I am doing
- // this is probably very broken
- // but it kinda works
- for (uint16_t i = 0; i < jar_xm_get_number_of_channels(ctx); i++)
- {
- jar_xm_cut_note(&ctx->channels[i]);
- }
- ctx->current_row = 0;
- ctx->current_table_index = 1;
- ctx->current_tick = 0;
-}
-
// Stop music playing (close stream)
// TODO: To clear a buffer, make sure they have been already processed!
void StopMusicStream(Music music)