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 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 * |
138 |
inline static void Synthesize(VOICE_T& Voice, void* Pos, sample_t* pSrc, uint& i) { |
inline static void Synthesize(VOICE_T& Voice, void* Pos, sample_t* pSrc, uint& i) { |
139 |
Synthesize(pSrc, Pos, |
Synthesize(pSrc, Pos, |
140 |
Voice.pEngine->pSynthesisParameters[Event::destination_vco][i], |
Voice.pEngine->pSynthesisParameters[Event::destination_vco][i], |
141 |
Voice.pEngine->pOutputLeft, |
Voice.pEngineChannel->pOutputLeft, |
142 |
Voice.pEngine->pOutputRight, |
Voice.pEngineChannel->pOutputRight, |
143 |
i, |
i, |
144 |
Voice.pEngine->pSynthesisParameters[Event::destination_vca], |
Voice.pEngine->pSynthesisParameters[Event::destination_vca], |
145 |
&Voice.PanLeft, |
&Voice.PanLeft, |