summaryrefslogtreecommitdiff
path: root/src/multiplexer.h
diff options
context:
space:
mode:
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;