2 |
* * |
* * |
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-2007 Christian Schoenebeck * |
* Copyright (C) 2005-2008 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 * |
1977 |
} |
} |
1978 |
|
|
1979 |
String Engine::Version() { |
String Engine::Version() { |
1980 |
String s = "$Revision: 1.85 $"; |
String s = "$Revision: 1.86 $"; |
1981 |
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 |
1982 |
} |
} |
1983 |
|
|
1986 |
} |
} |
1987 |
|
|
1988 |
// static constant initializers |
// static constant initializers |
1989 |
const float* Engine::VolumeCurve(InitVolumeCurve()); |
const Engine::FloatTable Engine::VolumeCurve(InitVolumeCurve()); |
1990 |
const float* Engine::PanCurve(InitPanCurve()); |
const Engine::FloatTable Engine::PanCurve(InitPanCurve()); |
1991 |
const float* Engine::CrossfadeCurve(InitCrossfadeCurve()); |
const Engine::FloatTable Engine::CrossfadeCurve(InitCrossfadeCurve()); |
1992 |
|
|
1993 |
float* Engine::InitVolumeCurve() { |
float* Engine::InitVolumeCurve() { |
1994 |
// line-segment approximation |
// line-segment approximation |