3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
33 |
#include "../../common/Exception.h" |
#include "../../common/Exception.h" |
34 |
#include "../Device.h" |
#include "../Device.h" |
35 |
#include "../DeviceParameter.h" |
#include "../DeviceParameter.h" |
36 |
#include "../../engines/common/Engine.h" |
#include "../../engines/Engine.h" |
37 |
#include "AudioChannel.h" |
#include "AudioChannel.h" |
38 |
#include "../../common/SynchronizedConfig.h" |
#include "../../common/SynchronizedConfig.h" |
39 |
|
|
87 |
virtual optional<int> RangeMinAsInt(std::map<String,String> Parameters); |
virtual optional<int> RangeMinAsInt(std::map<String,String> Parameters); |
88 |
virtual optional<int> RangeMaxAsInt(std::map<String,String> Parameters); |
virtual optional<int> RangeMaxAsInt(std::map<String,String> Parameters); |
89 |
virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters); |
virtual std::vector<int> PossibilitiesAsInt(std::map<String,String> Parameters); |
90 |
|
virtual int ValueAsInt(); |
91 |
virtual void OnSetValue(int i) throw (Exception); |
virtual void OnSetValue(int i) throw (Exception); |
92 |
static String Name(); |
static String Name(); |
93 |
}; |
}; |
231 |
void AcquireChannels(uint Channels); |
void AcquireChannels(uint Channels); |
232 |
|
|
233 |
/** |
/** |
234 |
|
* Returns the amount of audio channels (including the so called |
235 |
|
* "mix channels") the device is currently providing. |
236 |
|
*/ |
237 |
|
uint ChannelCount(); |
238 |
|
|
239 |
|
/** |
240 |
* Returns all device parameter settings. |
* Returns all device parameter settings. |
241 |
*/ |
*/ |
242 |
std::map<String,DeviceCreationParameter*> DeviceParameters(); |
std::map<String,DeviceCreationParameter*> DeviceParameters(); |