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

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

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

revision 1879 by schoenebeck, Sun Mar 29 18:43:40 2009 UTC revision 1924 by persson, Sun Jun 28 16:43:38 2009 UTC
# Line 58  namespace LinuxSampler { namespace gig { Line 58  namespace LinuxSampler { namespace gig {
58              int     OrderNewStream(Stream::reference_t* pStreamRef, ::gig::DimensionRegion* pDimRgn, unsigned long SampleOffset, bool DoLoop);              int     OrderNewStream(Stream::reference_t* pStreamRef, ::gig::DimensionRegion* pDimRgn, unsigned long SampleOffset, bool DoLoop);
59              int     OrderDeletionOfStream(Stream::reference_t* pStreamRef, bool bRequestNotification = false);              int     OrderDeletionOfStream(Stream::reference_t* pStreamRef, bool bRequestNotification = false);
60              int     OrderDeletionOfDimreg(::gig::DimensionRegion* dimreg);              int     OrderDeletionOfDimreg(::gig::DimensionRegion* dimreg);
61                int     OrderProgramChange(uint8_t Program, EngineChannel* pEngineChannel);
62              Stream* AskForCreatedStream(Stream::OrderID_t StreamOrderID);              Stream* AskForCreatedStream(Stream::OrderID_t StreamOrderID);
63              Stream::Handle AskForDeletedStream();              Stream::Handle AskForDeletedStream();
64    
# Line 89  namespace LinuxSampler { namespace gig { Line 90  namespace LinuxSampler { namespace gig {
90                  Stream::OrderID_t OrderID;                  Stream::OrderID_t OrderID;
91                  bool              bNotify;                  bool              bNotify;
92              };              };
93                struct program_change_command_t {
94                    uint8_t Program;
95                    EngineChannel* pEngineChannel;
96                };
97              // Attributes              // Attributes
98              bool                           IsIdle;              bool                           IsIdle;
99              uint                           Streams;              uint                           Streams;
# Line 98  namespace LinuxSampler { namespace gig { Line 102  namespace LinuxSampler { namespace gig {
102              RingBuffer<delete_command_t,false>* GhostQueue;                         ///< Contains handles to streams that are not used anymore and weren't deletable immediately              RingBuffer<delete_command_t,false>* GhostQueue;                         ///< Contains handles to streams that are not used anymore and weren't deletable immediately
103              RingBuffer<Stream::Handle,false>    DeletionNotificationQueue;          ///< In case the original sender requested a notification for its stream deletion order, this queue will receive the handle of the respective stream once actually be deleted by the disk thread.              RingBuffer<Stream::Handle,false>    DeletionNotificationQueue;          ///< In case the original sender requested a notification for its stream deletion order, this queue will receive the handle of the respective stream once actually be deleted by the disk thread.
104              RingBuffer< ::gig::DimensionRegion*,false>* DeleteDimregQueue;          ///< Contains dimension regions that are not used anymore and should be handed back to the instrument resource manager              RingBuffer< ::gig::DimensionRegion*,false>* DeleteDimregQueue;          ///< Contains dimension regions that are not used anymore and should be handed back to the instrument resource manager
105                RingBuffer<program_change_command_t,false> ProgramChangeQueue;          ///< Contains requests for MIDI program change
106              unsigned int                   RefillStreamsPerRun;                    ///< How many streams should be refilled in each loop run              unsigned int                   RefillStreamsPerRun;                    ///< How many streams should be refilled in each loop run
107              Stream**                       pStreams; ///< Contains all disk streams (whether used or unused)              Stream**                       pStreams; ///< Contains all disk streams (whether used or unused)
108              Stream**                       pCreatedStreams; ///< This is where the voice (audio thread) picks up it's meanwhile hopefully created disk stream.              Stream**                       pCreatedStreams; ///< This is where the voice (audio thread) picks up it's meanwhile hopefully created disk stream.

Legend:
Removed from v.1879  
changed lines
  Added in v.1924

  ViewVC Help
Powered by ViewVC