Removed dead code using #if 0 (#7521)
Removed code that's has been deactivated using `#if 0`.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user