/[svn]/linuxsampler/trunk/src/audiothread.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/audiothread.h

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

revision 36 by schoenebeck, Fri Mar 5 13:46:15 2004 UTC revision 37 by schoenebeck, Wed Mar 10 22:01:36 2004 UTC
# Line 76  class AudioThread { Line 76  class AudioThread {
76              uint*                                pSelf;                 ///< hack to allow fast deallocation of the key from the list of active keys              uint*                                pSelf;                 ///< hack to allow fast deallocation of the key from the list of active keys
77              RTEList<ModulationSystem::Event>*    pEvents;               ///< Key specific events (only Note-on, Note-off and sustain pedal currently)              RTEList<ModulationSystem::Event>*    pEvents;               ///< Key specific events (only Note-on, Note-off and sustain pedal currently)
78          };          };
79            
80            uint8_t                                  ControllerTable[128];  ///< Reflects the current values (0-127) of all MIDI controllers for this engine / sampler channel.
81          RingBuffer<ModulationSystem::Event>*     pEventQueue;           ///< Input event queue.          RingBuffer<ModulationSystem::Event>*     pEventQueue;           ///< Input event queue.
82          float*                                   pAudioSumBuffer[2];    ///< Audio sum of all voices (32 bit, index 0 = left channel, index 1 = right channel)          float*                                   pAudioSumBuffer[2];    ///< Audio sum of all voices (32 bit, index 0 = left channel, index 1 = right channel)
83          midi_key_info_t                          pMIDIKeyInfo[128];     ///< Contains all active voices sorted by MIDI key number and other informations to the respective MIDI key          midi_key_info_t                          pMIDIKeyInfo[128];     ///< Contains all active voices sorted by MIDI key number and other informations to the respective MIDI key
# Line 84  class AudioThread { Line 85  class AudioThread {
85          RTELMemoryPool<uint>*                    pActiveKeys;           ///< Holds all keys in it's allocation list with active voices.          RTELMemoryPool<uint>*                    pActiveKeys;           ///< Holds all keys in it's allocation list with active voices.
86          RTELMemoryPool<ModulationSystem::Event>* pEventPool;            ///< Contains all Event objects that can be used.          RTELMemoryPool<ModulationSystem::Event>* pEventPool;            ///< Contains all Event objects that can be used.
87          RTEList<ModulationSystem::Event>*        pEvents;               ///< All events for the current audio fragment.          RTEList<ModulationSystem::Event>*        pEvents;               ///< All events for the current audio fragment.
88          RTEList<ModulationSystem::Event>*        pCCEvents[ModulationSystem::destination_count];  ///< Control change events for the current audio fragment.          RTEList<ModulationSystem::Event>*        pCCEvents;             ///< All control change events for the current audio fragment.
89            RTEList<ModulationSystem::Event>*        pSynthesisEvents[ModulationSystem::destination_count];  ///< Events directly affecting synthesis parameter (like pitch, volume and filter).
90          AudioIO*                                 pAudioIO;          AudioIO*                                 pAudioIO;
91          RIFF::File*                              pRIFF;          RIFF::File*                              pRIFF;
92          gig::File*                               pGig;          gig::File*                               pGig;
93          gig::Instrument*                         pInstrument;          gig::Instrument*                         pInstrument;
94          bool                                     SustainPedal;          ///< true if sustain pedal is down          bool                                     SustainPedal;          ///< true if sustain pedal is down
         uint8_t                                  PrevHoldCCValue;  
95          int                                      Pitch;                 ///< Current (absolute) MIDI pitch value.          int                                      Pitch;                 ///< Current (absolute) MIDI pitch value.
96          bool                                     SuspensionRequested;          bool                                     SuspensionRequested;
97          pthread_mutex_t                          __render_state_mutex;          pthread_mutex_t                          __render_state_mutex;

Legend:
Removed from v.36  
changed lines
  Added in v.37

  ViewVC Help
Powered by ViewVC