summaryrefslogtreecommitdiff
path: root/src/audio/audio_thread.c
diff options
context:
space:
mode:
authorcoco875 <pereira.jannin@gmail.com>2024-12-21 23:49:14 +0100
committerLywx <kiritodev01@gmail.com>2024-12-22 14:04:21 -0600
commit443b7ae602a1374295326b2788c6c86c4e2780ad (patch)
tree0eed6459a134175fed1037613c6fc602f0ce82d9 /src/audio/audio_thread.c
parent32e79fa79ad40ac2c1feefaf06a6d2d394b1a6c6 (diff)
fix clang error
Diffstat (limited to 'src/audio/audio_thread.c')
-rw-r--r--src/audio/audio_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/audio_thread.c b/src/audio/audio_thread.c
index f38e8935..193e43e7 100644
--- a/src/audio/audio_thread.c
+++ b/src/audio/audio_thread.c
@@ -65,11 +65,11 @@ void AudioThread_CreateNextAudioBuffer(s16* samples, u32 num_samples) {
osSendMesg8(gAudioResetQueue, gAudioSpecId, OS_MESG_NOBLOCK);
}
gWaitingAudioTask = NULL;
- return NULL;
+ return;
}
if (gAudioResetTimer > 16) {
- return NULL;
+ return;
}
if (gAudioResetTimer != 0) {
gAudioResetTimer++;