Change some minor comments to align with comments style (#3755)

This commit is contained in:
Idir Carlos Aliane 2024-01-22 21:26:18 +01:00 committed by GitHub
parent c133fee286
commit 6f1c31b25d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -988,7 +988,7 @@ void UnloadSound(Sound sound)
void UnloadSoundAlias(Sound alias)
{
// untrack and unload just the sound buffer, not the sample data, it is shared with the source for the alias
// Untrack and unload just the sound buffer, not the sample data, it is shared with the source for the alias
if (alias.stream.buffer != NULL)
{
ma_data_converter_uninit(&alias.stream.buffer->converter, NULL);
@ -1405,7 +1405,7 @@ Music LoadMusicStream(const char *fileName)
music.stream = LoadAudioStream(AUDIO.System.device.sampleRate, bits, AUDIO_DEVICE_CHANNELS);
music.frameCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm); // NOTE: Always 2 channels (stereo)
music.looping = true; // Looping enabled by default
jar_xm_reset(ctxXm); // make sure we start at the beginning of the song
jar_xm_reset(ctxXm); // Make sure we start at the beginning of the song
musicLoaded = true;
}
}
@ -1596,7 +1596,7 @@ Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data,
music.stream = LoadAudioStream(AUDIO.System.device.sampleRate, bits, 2);
music.frameCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm); // NOTE: Always 2 channels (stereo)
music.looping = true; // Looping enabled by default
jar_xm_reset(ctxXm); // make sure we start at the beginning of the song
jar_xm_reset(ctxXm); // Make sure we start at the beginning of the song
music.ctxData = ctxXm;
musicLoaded = true;