mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 19:05:29 +00:00
Removed duplicate SDL_AtomicGet()
This commit is contained in:
parent
fed8465085
commit
86ee383fdd
|
@ -601,7 +601,7 @@ inputCallback(void *inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ignore unless we're active. */
|
/* ignore unless we're active. */
|
||||||
if (!SDL_AtomicGet(&this->paused) && SDL_AtomicGet(&this->enabled) && !SDL_AtomicGet(&this->paused)) {
|
if (!SDL_AtomicGet(&this->paused) && SDL_AtomicGet(&this->enabled)) {
|
||||||
const Uint8 *ptr = (const Uint8 *) inBuffer->mAudioData;
|
const Uint8 *ptr = (const Uint8 *) inBuffer->mAudioData;
|
||||||
UInt32 remaining = inBuffer->mAudioDataByteSize;
|
UInt32 remaining = inBuffer->mAudioDataByteSize;
|
||||||
while (remaining > 0) {
|
while (remaining > 0) {
|
||||||
|
|
Loading…
Reference in a new issue