1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
* Copyright (C) 2005, 2006, 2014 Christian Schoenebeck * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* 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 * |
64 |
} |
} |
65 |
}; |
}; |
66 |
|
|
67 |
|
inline bool isValidMidiChan(const midi_chan_t& ch) { |
68 |
|
return ch >= 0 && ch <= midi_chan_all; |
69 |
|
} |
70 |
|
|
71 |
} // namsepace LinuxSampler |
} // namsepace LinuxSampler |
72 |
|
|
73 |
#endif // __LS_MIDI_H__ |
#endif // __LS_MIDI_H__ |