summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 00:36:31 +0200
committerRay <[email protected]>2022-08-02 00:36:31 +0200
commitfd191a32eacda23b54438550965fa8addf31e2e2 (patch)
treebb3b8537ef0f4f534650e96b60134febe9a61238 /src/raudio.c
parentfe9e82b2e689ad6ae13ae6680ae8f1576c498fe2 (diff)
downloadraylib-fd191a32eacda23b54438550965fa8addf31e2e2.tar.gz
raylib-fd191a32eacda23b54438550965fa8addf31e2e2.zip
Remove trailing spaces
Diffstat (limited to 'src/raudio.c')
-rw-r--r--src/raudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raudio.c b/src/raudio.c
index 796933a6..af19658b 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -1152,7 +1152,7 @@ void WaveFormat(Wave *wave, int sampleRate, int sampleSize, int channels)
ma_uint32 frameCountIn = wave->frameCount;
ma_uint32 frameCount = (ma_uint32)ma_convert_frames(NULL, 0, formatOut, channels, sampleRate, NULL, frameCountIn, formatIn, wave->channels, wave->sampleRate);
-
+
if (frameCount == 0)
{
TRACELOG(LOG_WARNING, "WAVE: Failed to get frame count for format conversion");
@@ -1727,7 +1727,7 @@ void UpdateMusicStream(Music music)
// On first call of this function we lazily pre-allocated a temp buffer to read audio files/memory data in
int frameSize = music.stream.channels*music.stream.sampleSize/8;
unsigned int pcmSize = subBufferSizeInFrames*frameSize;
- if (AUDIO.System.pcmBufferSize < pcmSize)
+ if (AUDIO.System.pcmBufferSize < pcmSize)
{
RL_FREE(AUDIO.System.pcmBuffer);
AUDIO.System.pcmBuffer = RL_CALLOC(1, pcmSize);