Removed dead code using #if 0 (#7521)

Removed code that's has been deactivated using `#if 0`.
This commit is contained in:
Rossmaxx
2024-10-07 16:51:18 +05:30
committed by GitHub
parent 639e122efe
commit 79eac411a0
3 changed files with 0 additions and 25 deletions

View File

@@ -1131,17 +1131,6 @@ void AudioEngine::fifoWriter::run()
{
disable_denormals();
#if 0
#if defined(LMMS_BUILD_LINUX) || defined(LMMS_BUILD_FREEBSD)
#ifdef LMMS_HAVE_SCHED_H
cpu_set_t mask;
CPU_ZERO( &mask );
CPU_SET( 0, &mask );
sched_setaffinity( 0, sizeof( mask ), &mask );
#endif
#endif
#endif
const fpp_t frames = m_audioEngine->framesPerPeriod();
while( m_writing )
{

View File

@@ -159,17 +159,6 @@ void ProjectRenderer::startProcessing()
void ProjectRenderer::run()
{
#if 0
#if defined(LMMS_BUILD_LINUX) || defined(LMMS_BUILD_FREEBSD)
#ifdef LMMS_HAVE_SCHED_H
cpu_set_t mask;
CPU_ZERO( &mask );
CPU_SET( 0, &mask );
sched_setaffinity( 0, sizeof( mask ), &mask );
#endif
#endif
#endif
PerfLogTimer perfLog("Project Render");
Engine::getSong()->startExport();

View File

@@ -191,9 +191,6 @@ Clip * SampleTrack::createClip(const TimePos & pos)
void SampleTrack::saveTrackSpecificSettings(QDomDocument& _doc, QDomElement& _this, bool presetMode)
{
m_audioPort.effects()->saveState( _doc, _this );
#if 0
_this.setAttribute( "icon", tlb->pixmapFile() );
#endif
m_volumeModel.saveSettings( _doc, _this, "vol" );
m_panningModel.saveSettings( _doc, _this, "pan" );
m_mixerChannelModel.saveSettings( _doc, _this, "mixch" );