mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 06:38:46 +00:00
clang format fix
This commit is contained in:
parent
26f7e3539f
commit
c933beb8d0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue