File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1250,7 +1250,7 @@ Music LoadMusicStream(const char *fileName)
12501250
12511251 // NOTE: Only stereo is supported for XM
12521252 music .stream = InitAudioStream (48000 , 16 , 2 );
1253- music .sampleCount = (unsigned int )jar_xm_get_remaining_samples (ctxXm );
1253+ music .sampleCount = (unsigned int )jar_xm_get_remaining_samples (ctxXm )* 2 ;
12541254 music .loopCount = 0 ; // Infinite loop by default
12551255 jar_xm_reset (ctxXm ); // make sure we start at the beginning of the song
12561256 musicLoaded = true;
@@ -1274,7 +1274,7 @@ Music LoadMusicStream(const char *fileName)
12741274
12751275 // NOTE: Only stereo is supported for MOD
12761276 music .stream = InitAudioStream (48000 , 16 , 2 );
1277- music .sampleCount = (unsigned int )jar_mod_max_samples (ctxMod );
1277+ music .sampleCount = (unsigned int )jar_mod_max_samples (ctxMod )* 2 ;
12781278 music .loopCount = 0 ; // Infinite loop by default
12791279 musicLoaded = true;
12801280 }
You can’t perform that action at this time.
0 commit comments