From f514dfdbb343d490f4e6331df2daddd91dbd85e0 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 16 May 2009 17:17:54 +0200 Subject: [PATCH] InstrumentTrack: made pitch range model publicly accessible Added InstrumentTrack::pitchRangeModel() in order to allow other classes to access pitch range model. --- include/instrument_track.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/include/instrument_track.h b/include/instrument_track.h index 785d098fc..199b5539a 100644 --- a/include/instrument_track.h +++ b/include/instrument_track.h @@ -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;