diff --git a/include/AudioEngine.h b/include/AudioEngine.h index 134ed287d1b..33511a53dfc 100644 --- a/include/AudioEngine.h +++ b/include/AudioEngine.h @@ -315,8 +315,8 @@ class LMMS_EXPORT AudioEngine : public QObject AudioEngine( bool renderOnly ); ~AudioEngine() override; - void startProcessing(); - void stopProcessing(); + void startProcessing() { m_audioDev->startProcessing(); } + void stopProcessing() { m_audioDev->stopProcessing(); } AudioDevice * tryAudioDevices(); diff --git a/src/core/AudioEngine.cpp b/src/core/AudioEngine.cpp index eb769ec8545..919fb74a20e 100644 --- a/src/core/AudioEngine.cpp +++ b/src/core/AudioEngine.cpp @@ -163,25 +163,6 @@ void AudioEngine::initDevices() emit sampleRateChanged(); } - - - -void AudioEngine::startProcessing() -{ - m_audioDev->startProcessing(); -} - - - - -void AudioEngine::stopProcessing() -{ - m_audioDev->stopProcessing(); -} - - - - bool AudioEngine::criticalXRuns() const { return cpuLoad() >= 99 && Engine::getSong()->isExporting() == false;