diff --git a/include/AudioEngine.h b/include/AudioEngine.h index cf7736d82c9..f056c22e108 100644 --- a/include/AudioEngine.h +++ b/include/AudioEngine.h @@ -406,7 +406,6 @@ class LMMS_EXPORT AudioEngine : public QObject AudioDevice * tryAudioDevices(); MidiClient * tryMidiClients(); - void renderStageNoteSetup(); void renderStageInstruments(); void renderStageEffects(); diff --git a/src/core/AudioEngine.cpp b/src/core/AudioEngine.cpp index 2d713dbfcec..0409c3deb61 100644 --- a/src/core/AudioEngine.cpp +++ b/src/core/AudioEngine.cpp @@ -394,14 +394,14 @@ void AudioEngine::renderStageInstruments() { m_profiler.startDetail(AudioEngineProfiler::DetailType::Instruments); - AudioEngineWorkerThread::fillJobQueue<>(m_playHandles); + AudioEngineWorkerThread::fillJobQueue(m_playHandles); AudioEngineWorkerThread::startAndWaitForJobs(); // removed all play handles which are done for( PlayHandleList::Iterator it = m_playHandles.begin(); - it != m_playHandles.end(); ) + it != m_playHandles.end(); ) { - if ( ( *it )->affinityMatters() && + if( ( *it )->affinityMatters() && ( *it )->affinity() != QThread::currentThread() ) { ++it; @@ -410,7 +410,7 @@ void AudioEngine::renderStageInstruments() if( ( *it )->isFinished() ) { ( *it )->audioPort()->removePlayHandle( ( *it ) ); - if ((*it)->type() == PlayHandle::Type::NotePlayHandle) + if( ( *it )->type() == PlayHandle::Type::NotePlayHandle ) { NotePlayHandleManager::release( (NotePlayHandle*) *it ); } diff --git a/src/core/BandLimitedWave.cpp b/src/core/BandLimitedWave.cpp index b6c03db9f96..cb09dc5b8f5 100644 --- a/src/core/BandLimitedWave.cpp +++ b/src/core/BandLimitedWave.cpp @@ -274,4 +274,4 @@ moogfile.close(); } -} // namespace lmms +} // namespace lmms \ No newline at end of file diff --git a/src/gui/widgets/CPULoadWidget.cpp b/src/gui/widgets/CPULoadWidget.cpp index 2e7e40d8f2d..0b1d504c152 100644 --- a/src/gui/widgets/CPULoadWidget.cpp +++ b/src/gui/widgets/CPULoadWidget.cpp @@ -35,6 +35,7 @@ namespace lmms::gui { + CPULoadWidget::CPULoadWidget( QWidget * _parent ) : QWidget( _parent ), m_currentLoad( 0 ), @@ -112,4 +113,4 @@ void CPULoadWidget::updateCpuLoad() } -} // namespace lmms::gui +} // namespace lmms::gui \ No newline at end of file