1 |
// qsamplerChannel.h |
// qsamplerChannel.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2003-2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2003-2005, 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 |
123 |
static QString getInstrumentName (const QString& sInstrumentFile, int iInstrumentNr); |
static QString getInstrumentName (const QString& sInstrumentFile, int iInstrumentNr); |
124 |
static QStringList getInstrumentList (const QString& sInstrumentFile); |
static QStringList getInstrumentList (const QString& sInstrumentFile); |
125 |
|
|
126 |
|
// Instrument name(s) retrieval mode. |
127 |
|
static bool instrumentNames(); |
128 |
|
static void setInstrumentNames (bool bInstrumentNames); |
129 |
|
|
130 |
private: |
private: |
131 |
|
|
132 |
// Main application form reference. |
// Main application form reference. |
147 |
QString m_sAudioDriver; // DEPRECATED. |
QString m_sAudioDriver; // DEPRECATED. |
148 |
int m_iAudioDevice; |
int m_iAudioDevice; |
149 |
float m_fVolume; |
float m_fVolume; |
150 |
|
|
151 |
|
// Retrieve mode for available instrument name(s) |
152 |
|
// from an instrument file (.gig). |
153 |
|
static bool g_bInstrumentNames; |
154 |
}; |
}; |
155 |
|
|
156 |
#endif // __qsamplerChannel_h |
#endif // __qsamplerChannel_h |