mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 19:14:40 +00:00
clang format fix
This commit is contained in:
parent
26f7e3539f
commit
c933beb8d0
@ -93,8 +93,8 @@ s32 SDLAudio::AudioOutOutput(s32 handle, const void* ptr) {
|
|||||||
if (!port.isOpen || ptr == nullptr)
|
if (!port.isOpen || ptr == nullptr)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int result=SDL_PutAudioStreamData(port.stream, ptr,
|
int result = SDL_PutAudioStreamData(port.stream, ptr,
|
||||||
port.samples_num * port.sample_size * port.channels_num);
|
port.samples_num * port.sample_size * port.channels_num);
|
||||||
// TODO find a correct value 8192 is estimated
|
// TODO find a correct value 8192 is estimated
|
||||||
while (SDL_GetAudioStreamAvailable(port.stream) > 8192) {
|
while (SDL_GetAudioStreamAvailable(port.stream) > 8192) {
|
||||||
SDL_Delay(0);
|
SDL_Delay(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user