"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/RenderManager.cpp" between
lmms-1.2.0-rc7.tar.gz and lmms-1.2.0-rc8.tar.gz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support). Release candidate.

RenderManager.cpp  (lmms-1.2.0-rc7):RenderManager.cpp  (lmms-1.2.0-rc8)
skipping to change at line 132 skipping to change at line 132
void RenderManager::renderTracks() void RenderManager::renderTracks()
{ {
const TrackContainer::TrackList & tl = Engine::getSong()->tracks(); const TrackContainer::TrackList & tl = Engine::getSong()->tracks();
// find all currently unnmuted tracks -- we want to render these. // find all currently unnmuted tracks -- we want to render these.
for( auto it = tl.begin(); it != tl.end(); ++it ) for( auto it = tl.begin(); it != tl.end(); ++it )
{ {
Track* tk = (*it); Track* tk = (*it);
Track::TrackTypes type = tk->type(); Track::TrackTypes type = tk->type();
// Don't mute automation tracks // Don't render automation tracks
if ( tk->isMuted() == false && if ( tk->isMuted() == false &&
( type == Track::InstrumentTrack || type == Track ::SampleTrack ) ) ( type == Track::InstrumentTrack || type == Track ::SampleTrack ) )
{ {
m_unmuted.push_back(tk); m_unmuted.push_back(tk);
} }
} }
const TrackContainer::TrackList t2 = Engine::getBBTrackContainer()->track s(); const TrackContainer::TrackList t2 = Engine::getBBTrackContainer()->track s();
for( auto it = t2.begin(); it != t2.end(); ++it ) for( auto it = t2.begin(); it != t2.end(); ++it )
{ {
Track* tk = (*it); Track* tk = (*it);
if ( tk->isMuted() == false ) Track::TrackTypes type = tk->type();
// Don't render automation tracks
if ( tk->isMuted() == false &&
( type == Track::InstrumentTrack || type == Track
::SampleTrack ) )
{ {
m_unmuted.push_back(tk); m_unmuted.push_back(tk);
} }
} }
// copy the list of unmuted tracks into our rendering queue. // copy the list of unmuted tracks into our rendering queue.
// we need to remember which tracks were unmuted to restore state at the end. // we need to remember which tracks were unmuted to restore state at the end.
m_tracksToRender = m_unmuted; m_tracksToRender = m_unmuted;
renderNextTrack(); renderNextTrack();
 End of changes. 2 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)