clang format fix

This commit is contained in:
georgemoralis 2024-03-21 16:59:12 +02:00
parent 26f7e3539f
commit c933beb8d0

View file

@ -93,8 +93,8 @@ s32 SDLAudio::AudioOutOutput(s32 handle, const void* ptr) {
if (!port.isOpen || ptr == nullptr)
return 0;
int result=SDL_PutAudioStreamData(port.stream, ptr,
port.samples_num * port.sample_size * port.channels_num);
int result = SDL_PutAudioStreamData(port.stream, ptr,
port.samples_num * port.sample_size * port.channels_num);
// TODO find a correct value 8192 is estimated
while (SDL_GetAudioStreamAvailable(port.stream) > 8192) {
SDL_Delay(0);