Fixed #3182. Always using master channel for preset previews. (#3503)

* Fixed #3182. Always using master channel for preset previews.
This commit is contained in:
Karmo Rosental
2017-04-16 15:57:06 +03:00
committed by Tres Finocchiaro
parent fc70ae3fba
commit 5e58d3c00b
3 changed files with 23 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ public:
{
return &m_baseNoteModel;
}
int baseNote() const;
Piano *pianoModel()
@@ -207,6 +207,8 @@ public:
return &m_effectChannelModel;
}
void setPreviewMode( const bool );
signals:
void instrumentChanged();
@@ -242,15 +244,17 @@ private:
bool m_silentBuffersProcessed;
bool m_previewMode;
IntModel m_baseNoteModel;
NotePlayHandleList m_processHandles;
FloatModel m_volumeModel;
FloatModel m_panningModel;
AudioPort m_audioPort;
FloatModel m_pitchModel;
IntModel m_pitchRangeModel;
IntModel m_effectChannelModel;