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 - 2014 Christian Schoenebeck * |
* Copyright (C) 2005 - 2016 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 * |
659 |
} |
} |
660 |
|
|
661 |
bool MidiInputPort::RemoveSysexListener(Engine* engine) { |
bool MidiInputPort::RemoveSysexListener(Engine* engine) { |
662 |
int count = SysexListeners.GetConfigForUpdate().erase(engine); |
size_t count = SysexListeners.GetConfigForUpdate().erase(engine); |
663 |
if (count) SysexListeners.SwitchConfig().erase(engine); |
if (count) SysexListeners.SwitchConfig().erase(engine); |
664 |
return count; |
return count; |
665 |
} |
} |