Skip to content

Commit

Permalink
Inline startProcessing and stopProcessing
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Jan 16, 2025
1 parent 75dab12 commit 0615733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
4 changes: 2 additions & 2 deletions include/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
19 changes: 0 additions & 19 deletions src/core/AudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0615733

Please sign in to comment.