33 |
#include <stdio.h> |
#include <stdio.h> |
34 |
#include <stdlib.h> |
#include <stdlib.h> |
35 |
#include <unistd.h> |
#include <unistd.h> |
36 |
|
#include <time.h> |
37 |
|
|
38 |
#include "global.h" |
#include "global.h" |
39 |
#include "thread.h" |
#include "thread.h" |
51 |
int OrderNewStream(Stream::reference_t* pStreamRef, gig::Sample* pSample, unsigned long SampleOffset); |
int OrderNewStream(Stream::reference_t* pStreamRef, gig::Sample* pSample, unsigned long SampleOffset); |
52 |
int OrderDeletionOfStream(Stream::reference_t* pStreamRef); |
int OrderDeletionOfStream(Stream::reference_t* pStreamRef); |
53 |
Stream* AskForCreatedStream(Stream::OrderID_t StreamOrderID); |
Stream* AskForCreatedStream(Stream::OrderID_t StreamOrderID); |
54 |
|
|
55 |
|
// the number of currently active streams |
56 |
|
// printed on the console the main thread (along with the active voice count) |
57 |
|
int ActiveStreamCount; |
58 |
|
|
59 |
protected: |
protected: |
60 |
int Main(); ///< Implementation of virtual method from class Thread |
int Main(); ///< Implementation of virtual method from class Thread |
61 |
private: |
private: |