Skip to content

Commit 6f1c31b

Browse files
authored
Change some minor comments to align with comments style (raysan5#3755)
1 parent c133fee commit 6f1c31b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/raudio.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ void UnloadSound(Sound sound)
988988

989989
void UnloadSoundAlias(Sound alias)
990990
{
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
992992
if (alias.stream.buffer != NULL)
993993
{
994994
ma_data_converter_uninit(&alias.stream.buffer->converter, NULL);
@@ -1099,7 +1099,7 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
10991099
strcpy(varFileName, GetFileNameWithoutExt(fileName));
11001100
for (int i = 0; varFileName[i] != '\0'; i++) if (varFileName[i] >= 'a' && varFileName[i] <= 'z') { varFileName[i] = varFileName[i] - 32; }
11011101

1102-
//Add wave information
1102+
// Add wave information
11031103
byteCount += sprintf(txtData + byteCount, "// Wave data information\n");
11041104
byteCount += sprintf(txtData + byteCount, "#define %s_FRAME_COUNT %u\n", varFileName, wave.frameCount);
11051105
byteCount += sprintf(txtData + byteCount, "#define %s_SAMPLE_RATE %u\n", varFileName, wave.sampleRate);
@@ -1405,7 +1405,7 @@ Music LoadMusicStream(const char *fileName)
14051405
music.stream = LoadAudioStream(AUDIO.System.device.sampleRate, bits, AUDIO_DEVICE_CHANNELS);
14061406
music.frameCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm); // NOTE: Always 2 channels (stereo)
14071407
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
14091409
musicLoaded = true;
14101410
}
14111411
}
@@ -1596,7 +1596,7 @@ Music LoadMusicStreamFromMemory(const char *fileType, const unsigned char *data,
15961596
music.stream = LoadAudioStream(AUDIO.System.device.sampleRate, bits, 2);
15971597
music.frameCount = (unsigned int)jar_xm_get_remaining_samples(ctxXm); // NOTE: Always 2 channels (stereo)
15981598
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
16001600

16011601
music.ctxData = ctxXm;
16021602
musicLoaded = true;

0 commit comments

Comments
 (0)