1 |
#ifndef QSAMPLER_CHANNEL_FORM_H |
// qsamplerChannelForm.h |
2 |
#define QSAMPLER_CHANNEL_FORM_H |
// |
3 |
|
/**************************************************************************** |
4 |
|
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
|
This program is free software; you can redistribute it and/or |
8 |
|
modify it under the terms of the GNU General Public License |
9 |
|
as published by the Free Software Foundation; either version 2 |
10 |
|
of the License, or (at your option) any later version. |
11 |
|
|
12 |
|
This program is distributed in the hope that it will be useful, |
13 |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
GNU General Public License for more details. |
16 |
|
|
17 |
|
You should have received a copy of the GNU General Public License along |
18 |
|
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
|
21 |
|
*****************************************************************************/ |
22 |
|
|
23 |
|
#ifndef __qsamplerChannelForm_h |
24 |
|
#define __qsamplerChannelForm_h |
25 |
|
|
26 |
#include "ui_qsamplerChannelForm.h" |
#include "ui_qsamplerChannelForm.h" |
27 |
|
|
53 |
Q3PtrList<qsamplerDevice> m_audioDevices; |
Q3PtrList<qsamplerDevice> m_audioDevices; |
54 |
Q3PtrList<qsamplerDevice> m_midiDevices; |
Q3PtrList<qsamplerDevice> m_midiDevices; |
55 |
DeviceForm* m_pDeviceForm; |
DeviceForm* m_pDeviceForm; |
|
qsamplerChannelRoutingMap m_audioRouting; |
|
56 |
ChannelRoutingModel routingModel; |
ChannelRoutingModel routingModel; |
57 |
ChannelRoutingDelegate routingDelegate; |
ChannelRoutingDelegate routingDelegate; |
58 |
|
|
67 |
void selectAudioDriver(const QString& sAudioDriver); |
void selectAudioDriver(const QString& sAudioDriver); |
68 |
void selectAudioDevice(int iAudioItem); |
void selectAudioDevice(int iAudioItem); |
69 |
void setupAudioDevice(); |
void setupAudioDevice(); |
|
void changeAudioRouting(int iRow, int iCol); |
|
70 |
void updateDevices(); |
void updateDevices(); |
71 |
void optionsChanged(); |
void optionsChanged(); |
72 |
void stabilizeForm(); |
void stabilizeForm(); |
73 |
|
void updateTableCellRenderers(); |
74 |
|
void updateTableCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight); |
75 |
|
|
76 |
private: |
private: |
77 |
Ui::qsamplerChannelForm ui; |
Ui::qsamplerChannelForm ui; |
79 |
|
|
80 |
} // namespace QSampler |
} // namespace QSampler |
81 |
|
|
82 |
#endif // QSAMPLER_CHANNEL_FORM_H |
#endif // __qsamplerChannelForm_h |
83 |
|
|
84 |
|
|
85 |
|
// end of qsamplerChannelForm.h |