Qt: Remove audio buffer sizing in AudioProcessorQt

This commit is contained in:
Vicki Pfau 2017-03-24 13:59:21 -07:00
parent 03f96911bb
commit 24270af49b
2 changed files with 1 additions and 7 deletions

View File

@ -74,6 +74,7 @@ Misc:
- 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:

View File

@ -58,7 +58,6 @@ bool AudioProcessorQt::start() {
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::pause() {
}
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() {