Skip to content

Commit

Permalink
Wake good pri threads immediately from audio.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Jun 24, 2014
1 parent 6c4a614 commit d8cff45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/HLE/__sceAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ inline void __AudioWakeThreads(AudioChannel &chan, int result, int step) {
// DEBUG_LOG(SCEAUDIO, "Woke thread %i for some buffer filling", waitingThread);
u32 ret = result == 0 ? __KernelGetWaitValue(waitInfo.threadID, error) : SCE_ERROR_AUDIO_CHANNEL_NOT_RESERVED;
__KernelResumeThreadFromWait(waitInfo.threadID, ret);
__KernelReSchedule("audio drain");

chan.waitingThreads.erase(chan.waitingThreads.begin() + w--);
}
Expand Down

0 comments on commit d8cff45

Please sign in to comment.