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 * |
94 |
snd_seq_port_subscribe_free(*it); |
snd_seq_port_subscribe_free(*it); |
95 |
} |
} |
96 |
pPort->subscriptions.clear(); |
pPort->subscriptions.clear(); |
97 |
|
|
98 |
std::vector<String>::iterator iter = vS.begin(); |
std::vector<String>::iterator iter = vS.begin(); |
99 |
for (; iter != vS.end(); iter++) pPort->ConnectToAlsaMidiSource((*iter).c_str()); |
for (; iter != vS.end(); iter++) pPort->ConnectToAlsaMidiSource((*iter).c_str()); |
100 |
} |
} |
234 |
} |
} |
235 |
|
|
236 |
String MidiInputDeviceAlsa::Version() { |
String MidiInputDeviceAlsa::Version() { |
237 |
String s = "$Revision: 1.20 $"; |
String s = "$Revision: 1.21 $"; |
238 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
239 |
} |
} |
240 |
|
|
296 |
} while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0); |
} while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0); |
297 |
} |
} |
298 |
} |
} |
299 |
|
// just to avoid a compiler warning |
300 |
|
return EXIT_FAILURE; |
301 |
} |
} |
302 |
|
|
303 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |