summaryrefslogtreecommitdiff
path: root/src/multiplexer.h
diff options
context:
space:
mode:
authordeva <deva>2005-10-05 14:42:38 +0000
committerdeva <deva>2005-10-05 14:42:38 +0000
commit94c52bd15e64830db905522294a1975ed7a1cc39 (patch)
tree7a393e23c863b470a5fa7caa2eb8e92585c36d38 /src/multiplexer.h
parent111b16802de661228ef414eb6ec7484e2fa186ed (diff)
*** empty log message ***
Diffstat (limited to 'src/multiplexer.h')
-rw-r--r--src/multiplexer.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/multiplexer.h b/src/multiplexer.h
index 2604ddc..9959009 100644
--- a/src/multiplexer.h
+++ b/src/multiplexer.h
@@ -33,6 +33,7 @@
#include "iso11172-3.h"
#include "file.h"
+#include "multicast.h"
#include "info.h"
#include "frame.h"
@@ -68,7 +69,7 @@ typedef enum {
class Multiplexer {
public:
- Multiplexer(File *file, Info *info, volatile bool *running,
+ Multiplexer(File *file, Multicast *m, Info *info, volatile bool *running,
ThreadSafeQueuePriority *video_queue,
ThreadSafeQueuePriority *audio_queue);
~Multiplexer();
@@ -76,6 +77,17 @@ public:
void multiplex();
private:
+ int Write(void* data, int size);
+ int Write(char* data, int size);
+ int Write(unsigned long long int val);
+ int Write(long long int val);
+ int Write(long int val);
+ int Write(unsigned long int val);
+ int Write(int val);
+ int Write(unsigned int val);
+ int Write(short int val);
+ int Write(unsigned short int val);
+
unsigned long long int SCR;
double written[NUM_TYPES];
@@ -109,6 +121,7 @@ private:
unsigned int read[NUM_TYPES];
File *file;
+ Multicast *multicast;
Info *info;
volatile bool *running;