NotePlayHandle: fixed minor auto replace typo
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
const f_cnt_t _frames, const note & _n,
|
||||
notePlayHandle * _parent = NULL,
|
||||
const bool _part_of_arp = false,
|
||||
int midiChannel = -1 );
|
||||
int midiEventChannel = -1 );
|
||||
virtual ~notePlayHandle();
|
||||
|
||||
virtual void setVolume( const volume_t volume = DefaultVolume );
|
||||
|
||||
@@ -50,7 +50,7 @@ notePlayHandle::notePlayHandle( InstrumentTrack * _it,
|
||||
const note & _n,
|
||||
notePlayHandle *parent,
|
||||
const bool _part_of_arp,
|
||||
int MidiEventChannel ) :
|
||||
int midiEventChannel ) :
|
||||
playHandle( NotePlayHandle, _offset ),
|
||||
note( _n.length(), _n.pos(), _n.key(),
|
||||
_n.getVolume(), _n.getPanning(), _n.detuning() ),
|
||||
@@ -76,7 +76,7 @@ notePlayHandle::notePlayHandle( InstrumentTrack * _it,
|
||||
m_unpitchedFrequency( 0 ),
|
||||
m_baseDetuning( NULL ),
|
||||
m_songGlobalParentOffset( 0 ),
|
||||
m_midiChannel( MidiEventChannel >= 0 ? MidiEventChannel : instrumentTrack()->midiPort()->realOutputChannel() )
|
||||
m_midiChannel( midiEventChannel >= 0 ? midiEventChannel : instrumentTrack()->midiPort()->realOutputChannel() )
|
||||
{
|
||||
if( isTopNote() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user