Qt: Remove audio buffer sizing in AudioProcessorQt
Vicki Pfau vi@endrift.com
Fri, 24 Mar 2017 13:59:21 -0700
2 files changed,
1 insertions(+),
7 deletions(-)
M
CHANGES
→
CHANGES
@@ -74,6 +74,7 @@ - GBA Video: Optimize when BLD* registers are written frequently
- Core: Cores can now have multiple sets of callbacks - GBA: Ignore invalid opcodes used by the Wii U VC emulator - Qt: Remove audio thread + - Qt: Remove audio buffer sizing in AudioProcessorQt 0.5.2: (2016-12-31) Bugfixes:
M
src/platform/qt/AudioProcessorQt.cpp
→
src/platform/qt/AudioProcessorQt.cpp
@@ -58,7 +58,6 @@ }
m_device->setInput(input()); m_device->setFormat(m_audioOutput->format()); - m_audioOutput->setBufferSize(input()->core->getAudioBufferSize(input()->core) * 4); m_audioOutput->start(m_device); return m_audioOutput->state() == QAudio::ActiveState;@@ -71,12 +70,6 @@ }
} void AudioProcessorQt::setBufferSamples(int samples) { - AudioProcessor::setBufferSamples(samples); - if (m_audioOutput) { - m_audioOutput->stop(); - m_audioOutput->setBufferSize(samples * 4); - m_audioOutput->start(m_device); - } } void AudioProcessorQt::inputParametersChanged() {