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 Christian Schoenebeck * |
* Copyright (C) 2005, 2006 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 * |
55 |
return true; |
return true; |
56 |
} |
} |
57 |
|
|
58 |
void MidiInputDevice::ParameterActive::OnSetValue(bool b) throw (LinuxSamplerException) { |
void MidiInputDevice::ParameterActive::OnSetValue(bool b) throw (Exception) { |
59 |
if (b) ((MidiInputDevice*)pDevice)->Listen(); |
if (b) ((MidiInputDevice*)pDevice)->Listen(); |
60 |
else ((MidiInputDevice*)pDevice)->StopListen(); |
else ((MidiInputDevice*)pDevice)->StopListen(); |
61 |
} |
} |
108 |
return std::vector<int>(); |
return std::vector<int>(); |
109 |
} |
} |
110 |
|
|
111 |
void MidiInputDevice::ParameterPorts::OnSetValue(int i) throw (LinuxSamplerException) { |
void MidiInputDevice::ParameterPorts::OnSetValue(int i) throw (Exception) { |
112 |
((MidiInputDevice*)pDevice)->AcquirePorts(i); |
((MidiInputDevice*)pDevice)->AcquirePorts(i); |
113 |
} |
} |
114 |
|
|