mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix race condition with setting sample rate
This commit is contained in:
parent
4ca8d75082
commit
21d51964e8
1
CHANGES
1
CHANGES
|
@ -31,6 +31,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:
|
||||
- Qt: Window size command line options are now supported
|
||||
- Qt: Increase usability of key mapper
|
||||
|
|
|
@ -593,7 +593,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