@@ -988,7 +988,7 @@ void UnloadSound(Sound sound)
988
988
989
989
void UnloadSoundAlias (Sound alias )
990
990
{
991
- // untrack and unload just the sound buffer, not the sample data, it is shared with the source for the alias
991
+ // Untrack and unload just the sound buffer, not the sample data, it is shared with the source for the alias
992
992
if (alias .stream .buffer != NULL )
993
993
{
994
994
ma_data_converter_uninit (& alias .stream .buffer -> converter , NULL );
@@ -1099,7 +1099,7 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
1099
1099
strcpy (varFileName , GetFileNameWithoutExt (fileName ));
1100
1100
for (int i = 0 ; varFileName [i ] != '\0' ; i ++ ) if (varFileName [i ] >= 'a' && varFileName [i ] <= 'z' ) { varFileName [i ] = varFileName [i ] - 32 ; }
1101
1101
1102
- //Add wave information
1102
+ // Add wave information
1103
1103
byteCount += sprintf (txtData + byteCount , "// Wave data information\n" );
1104
1104
byteCount += sprintf (txtData + byteCount , "#define %s_FRAME_COUNT %u\n" , varFileName , wave .frameCount );
1105
1105
byteCount += sprintf (txtData + byteCount , "#define %s_SAMPLE_RATE %u\n" , varFileName , wave .sampleRate );
@@ -1405,7 +1405,7 @@ Music LoadMusicStream(const char *fileName)
1405
1405
music .stream = LoadAudioStream (AUDIO .System .device .sampleRate , bits , AUDIO_DEVICE_CHANNELS );
1406
1406
music .frameCount = (unsigned int )jar_xm_get_remaining_samples (ctxXm ); // NOTE: Always 2 channels (stereo)
1407
1407
music .looping = true; // Looping enabled by default
1408
- jar_xm_reset (ctxXm ); // make sure we start at the beginning of the song
1408
+ jar_xm_reset (ctxXm ); // Make sure we start at the beginning of the song
1409
1409
musicLoaded = true;
1410
1410
}
1411
1411
}
@@ -1596,7 +1596,7 @@ Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data,
1596
1596
music .stream = LoadAudioStream (AUDIO .System .device .sampleRate , bits , 2 );
1597
1597
music .frameCount = (unsigned int )jar_xm_get_remaining_samples (ctxXm ); // NOTE: Always 2 channels (stereo)
1598
1598
music .looping = true; // Looping enabled by default
1599
- jar_xm_reset (ctxXm ); // make sure we start at the beginning of the song
1599
+ jar_xm_reset (ctxXm ); // Make sure we start at the beginning of the song
1600
1600
1601
1601
music .ctxData = ctxXm ;
1602
1602
musicLoaded = true;
0 commit comments