Parent Directory | Revision Log
* added linear interpolation of volume modulation inside a subfragment; this prevents clicks during voice stealing. Can be switched off with the --disable-interpolate-volume configure option.
1 | schoenebeck | 770 | /* |
2 | * Copyright (C) 2005 Christian Schoenebeck | ||
3 | */ | ||
4 | |||
5 | #ifndef __LS_SYNTHESIS_PARAM_H__ | ||
6 | #define __LS_SYNTHESIS_PARAM_H__ | ||
7 | |||
8 | #include "../../common/global.h" | ||
9 | #include "Filter.h" | ||
10 | |||
11 | namespace LinuxSampler { namespace gig { | ||
12 | |||
13 | struct Loop { | ||
14 | uint uiStart; | ||
15 | uint uiEnd; | ||
16 | uint uiSize; | ||
17 | uint uiTotalCycles; ///< Number of times the loop should be played (a value of 0 = infinite). | ||
18 | uint uiCyclesLeft; ///< In case there is a RAMLoop and it's not an endless loop; reflects number of loop cycles left to be passed | ||
19 | }; | ||
20 | |||
21 | struct SynthesisParam { | ||
22 | Filter filterLeft; | ||
23 | Filter filterRight; | ||
24 | float fFinalPitch; | ||
25 | float fFinalVolumeLeft; | ||
26 | float fFinalVolumeRight; | ||
27 | persson | 830 | float fFinalVolumeDeltaLeft; |
28 | float fFinalVolumeDeltaRight; | ||
29 | schoenebeck | 770 | double dPos; |
30 | sample_t* pSrc; | ||
31 | float* pOutLeft; | ||
32 | float* pOutRight; | ||
33 | uint uiToGo; | ||
34 | }; | ||
35 | |||
36 | }} // namespace LinuxSampler::gig | ||
37 | |||
38 | #endif // __LS_SYNTHESIS_PARAM_H__ |
ViewVC Help | |
Powered by ViewVC |