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

Diff of /linuxsampler/trunk/src/engines/gig/Engine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 56 by schoenebeck, Tue Apr 27 09:21:58 2004 UTC revision 133 by capela, Fri Jun 18 14:29:02 2004 UTC
# Line 34  Line 34 
34  #include "../../common/ConditionServer.h"  #include "../../common/ConditionServer.h"
35  #include "../common/Engine.h"  #include "../common/Engine.h"
36  #include "../common/Event.h"  #include "../common/Event.h"
37    #include "../common/BiquadFilter.h"
38  #include "../../lib/fileloader/libgig/gig.h"  #include "../../lib/fileloader/libgig/gig.h"
39  #include "InstrumentResourceManager.h"  #include "InstrumentResourceManager.h"
40  #include "../../network/lscp.h"  #include "../../network/lscp.h"
41    
42  #define PITCHBEND_SEMITONES             12  #define PITCHBEND_SEMITONES             12
43  #define MAX_AUDIO_VOICES                64  #define MAX_AUDIO_VOICES                128
44    
45  namespace LinuxSampler { namespace gig {  namespace LinuxSampler { namespace gig {
46    
# Line 80  namespace LinuxSampler { namespace gig { Line 81  namespace LinuxSampler { namespace gig {
81              virtual String DiskStreamBufferFillPercentage();              virtual String DiskStreamBufferFillPercentage();
82              virtual String Description();              virtual String Description();
83              virtual String Version();              virtual String Version();
84                virtual String EngineName();
85                virtual String InstrumentFileName();
86                virtual int    InstrumentIndex();
87                virtual int    InstrumentStatus();
88    
89              // abstract methods derived from interface class 'InstrumentConsumer'              // abstract methods derived from interface class 'InstrumentConsumer'
90              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);
# Line 108  namespace LinuxSampler { namespace gig { Line 113  namespace LinuxSampler { namespace gig {
113              RTEList<Event>*         pCCEvents;             ///< All control change events for the current audio fragment.              RTEList<Event>*         pCCEvents;             ///< All control change events for the current audio fragment.
114              RTEList<Event>*         pSynthesisEvents[Event::destination_count];     ///< Events directly affecting synthesis parameter (like pitch, volume and filter).              RTEList<Event>*         pSynthesisEvents[Event::destination_count];     ///< Events directly affecting synthesis parameter (like pitch, volume and filter).
115              float*                  pSynthesisParameters[Event::destination_count]; ///< Matrix with final synthesis parameters for the current audio fragment which will be used in the main synthesis loop.              float*                  pSynthesisParameters[Event::destination_count]; ///< Matrix with final synthesis parameters for the current audio fragment which will be used in the main synthesis loop.
116                biquad_param_t*         pBasicFilterParameters; ///< Biquad parameters of the basic bandpass filter.
117                biquad_param_t*         pMainFilterParameters;  ///< Main biquad parameters of the individual filter (lowpass / bandpass / highpass).
118              RIFF::File*             pRIFF;              RIFF::File*             pRIFF;
119              ::gig::File*            pGig;              ::gig::File*            pGig;
120              ::gig::Instrument*      pInstrument;              ::gig::Instrument*      pInstrument;
# Line 118  namespace LinuxSampler { namespace gig { Line 125  namespace LinuxSampler { namespace gig {
125              int                     ActiveVoiceCountMax;   ///< the maximum voice usage since application start              int                     ActiveVoiceCountMax;   ///< the maximum voice usage since application start
126              bool                    SuspensionRequested;              bool                    SuspensionRequested;
127              ConditionServer         EngineDisabled;              ConditionServer         EngineDisabled;
128                String                  InstrumentFile;
129                int                     InstrumentIdx;
130                int                     InstrumentStat;
131    
132              void ProcessNoteOn(Event* pNoteOnEvent);              void ProcessNoteOn(Event* pNoteOnEvent);
133              void ProcessNoteOff(Event* pNoteOffEvent);              void ProcessNoteOff(Event* pNoteOffEvent);
# Line 135  namespace LinuxSampler { namespace gig { Line 145  namespace LinuxSampler { namespace gig {
145              friend class VCOManipulator;              friend class VCOManipulator;
146              friend class InstrumentResourceManager;              friend class InstrumentResourceManager;
147          private:          private:
             //static void AllocateSynthesisParametersMatrix();  
   
148              void DisableAndLock();              void DisableAndLock();
149      };      };
150    

Legend:
Removed from v.56  
changed lines
  Added in v.133

  ViewVC Help
Powered by ViewVC