mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 18:19:42 -04:00
InstrumentTrack: made pitch range model publicly accessible
Added InstrumentTrack::pitchRangeModel() in order to allow other classes to access pitch range model.
This commit is contained in:
@@ -161,11 +161,6 @@ public:
|
||||
// simple helper for removing midiport-XML-node when loading presets
|
||||
static void removeMidiPortNode( multimediaProject & _mmp );
|
||||
|
||||
floatModel * pitchModel( void )
|
||||
{
|
||||
return &m_pitchModel;
|
||||
}
|
||||
|
||||
floatModel * volumeModel( void )
|
||||
{
|
||||
return &m_volumeModel;
|
||||
@@ -176,6 +171,16 @@ public:
|
||||
return &m_panningModel;
|
||||
}
|
||||
|
||||
floatModel * pitchModel( void )
|
||||
{
|
||||
return &m_pitchModel;
|
||||
}
|
||||
|
||||
intModel * pitchRangeModel( void )
|
||||
{
|
||||
return &m_pitchRangeModel;
|
||||
}
|
||||
|
||||
intModel * effectChannelModel( void )
|
||||
{
|
||||
return &m_effectChannelModel;
|
||||
|
||||
Reference in New Issue
Block a user