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() { |
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() { |