/[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 504 by letz, Fri Apr 29 14:20:22 2005 UTC revision 505 by schoenebeck, Tue May 3 01:00:25 2005 UTC
# Line 30  Line 30 
30  # warning DiskThread.h included  # warning DiskThread.h included
31  #endif // DEBUG_HEADERS  #endif // DEBUG_HEADERS
32    
33    #include <gig.h>
34    
35  #define REFILL_STREAMS_PER_RUN          4       ///< number of streams that should be refilled with each disk thread cycle  #define REFILL_STREAMS_PER_RUN          4       ///< number of streams that should be refilled with each disk thread cycle
36  #define MIN_REFILL_SIZE                 1024    ///< if no buffer was filled up more than this bottom limit, the disk thread will go to sleep  #define MIN_REFILL_SIZE                 1024    ///< if no buffer was filled up more than this bottom limit, the disk thread will go to sleep
37  #define MAX_REFILL_SIZE                 65536   ///< maximum of samples a buffer should be refilled in one cycle (256kB, as 16 bit stereo)  #define MAX_REFILL_SIZE                 65536   ///< maximum of samples a buffer should be refilled in one cycle (256kB, as 16 bit stereo)
# Line 45  Line 47 
47    
48  #include "../../common/Thread.h"  #include "../../common/Thread.h"
49  #include "../../common/RingBuffer.h"  #include "../../common/RingBuffer.h"
 #include "../../lib/fileloader/libgig/gig.h"  
50  #include "Stream.h"  #include "Stream.h"
51  #include "Voice.h"  #include "Voice.h"
52    

Legend:
Removed from v.504  
changed lines
  Added in v.505

  ViewVC Help
Powered by ViewVC