FifoBuffer adjustments (#5803)

This commit is contained in:
Alexandre Almeida
2021-01-23 09:52:36 -03:00
committed by GitHub
parent 1744fd7dc1
commit e900576dbd
5 changed files with 39 additions and 42 deletions

View File

@@ -131,7 +131,7 @@ Mixer::Mixer( bool renderOnly ) :
}
// allocte the FIFO from the determined size
m_fifo = new fifo( fifoSize );
m_fifo = new Fifo( fifoSize );
// now that framesPerPeriod is fixed initialize global BufferManager
BufferManager::init( m_framesPerPeriod );
@@ -1222,9 +1222,9 @@ MidiClient * Mixer::tryMidiClients()
Mixer::fifoWriter::fifoWriter( Mixer* mixer, fifo * _fifo ) :
Mixer::fifoWriter::fifoWriter( Mixer* mixer, Fifo * fifo ) :
m_mixer( mixer ),
m_fifo( _fifo ),
m_fifo( fifo ),
m_writing( true )
{
setObjectName("Mixer::fifoWriter");

View File

@@ -1646,7 +1646,7 @@ void MainWindow::onImportProject()
ImportFilter::import( ofd.selectedFiles()[0], song );
}
song->setLoadOnLauch(false);
song->setLoadOnLaunch(false);
}
}