mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix race condition with setting sample rate
This commit is contained in:
parent
07719860c3
commit
0dcc4df249
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Bugfixes:
|
|||
- OpenGL: Fix fast-forward on some OpenGL drivers where it may block early
|
||||
- GBA BIOS: Fix Sqrt sign
|
||||
- GBA BIOS: Fix misaligned RLUnCompReadNormalWrite*
|
||||
- Qt: Fix race condition with setting sample rate
|
||||
Misc:
|
||||
- GBA Audio: Implement missing flags on SOUNDCNT_X register
|
||||
|
||||
|
|
|
@ -597,7 +597,7 @@ void GameController::setAudioBufferSamples(int samples) {
|
|||
threadInterrupt();
|
||||
redoSamples(samples);
|
||||
threadContinue();
|
||||
QMetaObject::invokeMethod(m_audioProcessor, "setBufferSamples", Q_ARG(int, samples));
|
||||
QMetaObject::invokeMethod(m_audioProcessor, "setBufferSamples", Qt::BlockingQueuedConnection, Q_ARG(int, samples));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue