62 |
|
|
63 |
// the number of streams currently in usage |
// the number of streams currently in usage |
64 |
// printed on the console the main thread (along with the active voice count) |
// printed on the console the main thread (along with the active voice count) |
65 |
int ActiveStreamCount; |
uint GetActiveStreamCount() { return atomic_read(&ActiveStreamCount); } |
66 |
|
void SetActiveStreamCount(uint Streams) { atomic_set(&ActiveStreamCount, Streams); } |
67 |
int ActiveStreamCountMax; |
int ActiveStreamCountMax; |
68 |
|
|
69 |
protected: |
protected: |
109 |
void RefillStreams(); |
void RefillStreams(); |
110 |
Stream::Handle CreateHandle(); |
Stream::Handle CreateHandle(); |
111 |
Stream::OrderID_t CreateOrderID(); |
Stream::OrderID_t CreateOrderID(); |
112 |
|
|
113 |
|
atomic_t ActiveStreamCount; |
114 |
}; |
}; |
115 |
|
|
116 |
}} // namespace LinuxSampler::gig |
}} // namespace LinuxSampler::gig |