/[svn]/linuxsampler/trunk/src/engines/gig/SynthesisParam.h
ViewVC logotype

Contents of /linuxsampler/trunk/src/engines/gig/SynthesisParam.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 830 - (show annotations) (download) (as text)
Sun Jan 15 18:23:11 2006 UTC (18 years, 2 months ago) by persson
File MIME type: text/x-c++hdr
File size: 1032 byte(s)
* 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 /*
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 float fFinalVolumeDeltaLeft;
28 float fFinalVolumeDeltaRight;
29 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