1 |
// qsamplerChannel.h |
// qsamplerChannel.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
7 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
91 |
int midiChannel() const; |
int midiChannel() const; |
92 |
bool setMidiChannel(int iMidiChannel); |
bool setMidiChannel(int iMidiChannel); |
93 |
|
|
94 |
|
// MIDI instrument map. |
95 |
|
int midiMap() const; |
96 |
|
bool setMidiMap(int iMidiMap); |
97 |
|
|
98 |
// Audio output driver (DEPRECATED). |
// Audio output driver (DEPRECATED). |
99 |
const QString& audioDriver() const; |
const QString& audioDriver() const; |
100 |
bool setAudioDriver(const QString& sAudioDriver); |
bool setAudioDriver(const QString& sAudioDriver); |
133 |
// Reset channel method. |
// Reset channel method. |
134 |
bool channelReset(); |
bool channelReset(); |
135 |
|
|
136 |
|
// Spawn instrument editor method. |
137 |
|
bool editChannel(); |
138 |
|
|
139 |
// Message logging methods (brainlessly mapped to main form's). |
// Message logging methods (brainlessly mapped to main form's). |
140 |
void appendMessages (const QString & s) const; |
void appendMessages (const QString & s) const; |
141 |
void appendMessagesColor (const QString & s, const QString & c) const; |
void appendMessagesColor (const QString & s, const QString & c) const; |
175 |
int m_iMidiDevice; |
int m_iMidiDevice; |
176 |
int m_iMidiPort; |
int m_iMidiPort; |
177 |
int m_iMidiChannel; |
int m_iMidiChannel; |
178 |
|
int m_iMidiMap; |
179 |
QString m_sAudioDriver; |
QString m_sAudioDriver; |
180 |
int m_iAudioDevice; |
int m_iAudioDevice; |
181 |
float m_fVolume; |
float m_fVolume; |