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 - 2015 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This library is free software; you can redistribute it and/or modify * |
* This library 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 * |
3153 |
InstrumentManager::instrument_id_t instrumentID; |
InstrumentManager::instrument_id_t instrumentID; |
3154 |
instrumentID.FileName = pEngineChannel->InstrumentFileName(); |
instrumentID.FileName = pEngineChannel->InstrumentFileName(); |
3155 |
instrumentID.Index = pEngineChannel->InstrumentIndex(); |
instrumentID.Index = pEngineChannel->InstrumentIndex(); |
3156 |
pInstrumentManager->LaunchInstrumentEditor(instrumentID); |
pInstrumentManager->LaunchInstrumentEditor(pEngineChannel, instrumentID); |
3157 |
} catch (Exception e) { |
} catch (Exception e) { |
3158 |
result.Error(e); |
result.Error(e); |
3159 |
} |
} |