/[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 770 - (show annotations) (download) (as text)
Sun Sep 11 15:56:29 2005 UTC (18 years, 7 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 949 byte(s)
* synthesis core optimizations

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 double dPos;
28 sample_t* pSrc;
29 float* pOutLeft;
30 float* pOutRight;
31 uint uiToGo;
32 };
33
34 }} // namespace LinuxSampler::gig
35
36 #endif // __LS_SYNTHESIS_PARAM_H__

  ViewVC Help
Powered by ViewVC