Remove TODO marker; The buffer is in stopped state and its data won't be accessed

This commit is contained in:
Christian Haas 2024-04-09 08:47:56 +02:00
parent 0ff911c0df
commit 51420ae4c7

View File

@ -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));
}
}