1 |
// qsamplerDevice.h |
// qsamplerDevice.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2003-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 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 |
31 |
#include "qsamplerOptions.h" |
#include "qsamplerOptions.h" |
32 |
|
|
33 |
|
|
34 |
// Special QListViewItem::rtti() return values. |
// Special QListViewItem::rtti() unique return value. |
35 |
#define QSAMPLER_DEVICE_ITEM 1001 |
#define QSAMPLER_DEVICE_ITEM 1001 |
36 |
|
|
37 |
|
|
104 |
// Update/refresh device/driver data. |
// Update/refresh device/driver data. |
105 |
void refresh(); |
void refresh(); |
106 |
|
|
107 |
// Device enumerator. |
// Device ids enumerator. |
108 |
static int *getDevices(lscp_client_t *pClient, |
static int *getDevices(lscp_client_t *pClient, |
109 |
qsamplerDeviceType deviceType); |
qsamplerDeviceType deviceType); |
110 |
|
|
111 |
|
// Driver names enumerator. |
112 |
|
static QStringList getDrivers(lscp_client_t *pClient, |
113 |
|
qsamplerDeviceType deviceType); |
114 |
|
|
115 |
private: |
private: |
116 |
|
|
117 |
// Instance variables. |
// Instance variables. |