MCPcopy Create free account
hub / github.com/LMMS/lmms / loadTrackSpecificSettings

Method loadTrackSpecificSettings

src/tracks/SampleTrack.cpp:725–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723
724
725void SampleTrack::loadTrackSpecificSettings( const QDomElement & _this )
726{
727 QDomNode node = _this.firstChild();
728 m_audioPort.effects()->clear();
729 while( !node.isNull() )
730 {
731 if( node.isElement() )
732 {
733 if( m_audioPort.effects()->nodeName() == node.nodeName() )
734 {
735 m_audioPort.effects()->restoreState( node.toElement() );
736 }
737 }
738 node = node.nextSibling();
739 }
740 m_volumeModel.loadSettings( _this, "vol" );
741 m_panningModel.loadSettings( _this, "pan" );
742}
743
744
745

Callers

nothing calls this directly

Calls 6

effectsMethod · 0.80
isNullMethod · 0.80
clearMethod · 0.45
nodeNameMethod · 0.45
restoreStateMethod · 0.45
loadSettingsMethod · 0.45

Tested by

no test coverage detected