3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2008 Anders Dahnielson <anders@dahnielson.com> * |
* Copyright (C) 2008 Anders Dahnielson <anders@dahnielson.com> * |
6 |
* Copyright (C) 2009 - 2010 Anders Dahnielson and Grigor Iliev * |
* Copyright (C) 2009 - 2011 Anders Dahnielson and Grigor Iliev * |
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 * |
58 |
// Enumerations |
// Enumerations |
59 |
enum sw_vel_t { VEL_CURRENT, VEL_PREVIOUS }; |
enum sw_vel_t { VEL_CURRENT, VEL_PREVIOUS }; |
60 |
enum off_mode_t { OFF_FAST, OFF_NORMAL }; |
enum off_mode_t { OFF_FAST, OFF_NORMAL }; |
61 |
enum loop_mode_t { NO_LOOP, ONE_SHOT, LOOP_CONTINUOUS, LOOP_SUSTAIN }; |
enum loop_mode_t { NO_LOOP, ONE_SHOT, LOOP_CONTINUOUS, LOOP_SUSTAIN, LOOP_UNSET }; |
62 |
enum curve_t { GAIN, POWER }; |
enum curve_t { GAIN, POWER }; |
63 |
enum filter_t { LPF_1P, HPF_1P, BPF_1P, BRF_1P, APF_1P, |
enum filter_t { LPF_1P, HPF_1P, BPF_1P, BRF_1P, APF_1P, |
64 |
LPF_2P, HPF_2P, BPF_2P, BRF_2P, PKF_2P, |
LPF_2P, HPF_2P, BPF_2P, BRF_2P, PKF_2P, |