From 51420ae4c7f843f2718657b199a109108d6392da Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Tue, 9 Apr 2024 08:47:56 +0200 Subject: [PATCH] Remove TODO marker; The buffer is in stopped state and its data won't be accessed --- src/raudio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/raudio.c b/src/raudio.c index c66244846..666d38458 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -1050,7 +1050,6 @@ void UpdateSound(Sound sound, const void *data, int frameCount) { StopAudioBuffer(sound.stream.buffer); - // TODO: May want to lock/unlock this since this data buffer is read at mixing time memcpy(sound.stream.buffer->data, data, frameCount*ma_get_bytes_per_frame(sound.stream.buffer->converter.formatIn, sound.stream.buffer->converter.channelsIn)); } }