Skip to content

Commit

Permalink
Revert more formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Aug 30, 2023
1 parent b47f33a commit d67e0f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion include/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ class LMMS_EXPORT AudioEngine : public QObject
AudioDevice * tryAudioDevices();
MidiClient * tryMidiClients();


void renderStageNoteSetup();
void renderStageInstruments();
void renderStageEffects();
Expand Down
8 changes: 4 additions & 4 deletions src/core/AudioEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 );
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/BandLimitedWave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,4 @@ moogfile.close();

}

} // namespace lmms
} // namespace lmms
3 changes: 2 additions & 1 deletion src/gui/widgets/CPULoadWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
namespace lmms::gui
{


CPULoadWidget::CPULoadWidget( QWidget * _parent ) :
QWidget( _parent ),
m_currentLoad( 0 ),
Expand Down Expand Up @@ -112,4 +113,4 @@ void CPULoadWidget::updateCpuLoad()
}


} // namespace lmms::gui
} // namespace lmms::gui

0 comments on commit d67e0f3

Please sign in to comment.