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 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2009 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 * |
99 |
void UnsubscribeAll(); |
void UnsubscribeAll(); |
100 |
}; |
}; |
101 |
|
|
102 |
|
/** MIDI Device Parameter 'NAME' |
103 |
|
* |
104 |
|
* Used to assign an arbitrary name to the ALSA client of this |
105 |
|
* MIDI device. |
106 |
|
*/ |
107 |
|
class ParameterName : public DeviceCreationParameterString { |
108 |
|
public: |
109 |
|
ParameterName(); |
110 |
|
ParameterName(String s); |
111 |
|
virtual String Description(); |
112 |
|
virtual bool Fix(); |
113 |
|
virtual bool Mandatory(); |
114 |
|
virtual std::map<String,DeviceCreationParameter*> DependsAsParameters(); |
115 |
|
virtual std::vector<String> PossibilitiesAsString(std::map<String,String> Parameters); |
116 |
|
virtual optional<String> DefaultAsString(std::map<String,String> Parameters); |
117 |
|
virtual void OnSetValue(String s) throw (Exception); |
118 |
|
static String Name(); |
119 |
|
}; |
120 |
|
|
121 |
MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters, void* pSampler); |
MidiInputDeviceAlsa(std::map<String,DeviceCreationParameter*> Parameters, void* pSampler); |
122 |
~MidiInputDeviceAlsa(); |
~MidiInputDeviceAlsa(); |
123 |
|
|