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

Diff of /linuxsampler/trunk/src/engines/gig/Stream.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 333 by senkov, Sat Jan 1 08:18:07 2005 UTC
# Line 58  namespace LinuxSampler { namespace gig { Line 58  namespace LinuxSampler { namespace gig {
58              void WriteSilence(unsigned long SilenceSampleWords);              void WriteSilence(unsigned long SilenceSampleWords);
59    
60              inline int GetReadSpace() {              inline int GetReadSpace() {
61                  return (pRingBuffer && State == state_active) ? pRingBuffer->read_space()  : 0;                  return (pRingBuffer && State != state_unused) ? pRingBuffer->read_space()  : 0;
62              }              }
63    
64              inline int GetWriteSpace() {              inline int GetWriteSpace() {
# Line 115  namespace LinuxSampler { namespace gig { Line 115  namespace LinuxSampler { namespace gig {
115    
116              // Static Attributes              // Static Attributes
117              static uint              UnusedStreams; //< Reflects how many stream objects of all stream instances are currently not in use.              static uint              UnusedStreams; //< Reflects how many stream objects of all stream instances are currently not in use.
118                static uint              TotalStreams; //< Reflects how many stream objects currently exist.
119    
120              // Methods              // Methods
121              inline void Reset() {              inline void Reset() {

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

  ViewVC Help
Powered by ViewVC