diff options
Diffstat (limited to 'src/inputstream.h')
-rw-r--r-- | src/inputstream.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/inputstream.h b/src/inputstream.h new file mode 100644 index 00000000..0353799e --- /dev/null +++ b/src/inputstream.h @@ -0,0 +1,25 @@ +#ifndef fooinputstreamhfoo +#define fooinputstreamhfoo + +#include <inttypes.h> + +#include "sink.h" +#include "sample.h" +#include "memblockq.h" + +struct input_stream { + char *name; + uint32_t index; + + struct sink *sink; + struct sample_spec spec; + + struct memblockq *memblockq; +}; + +struct input_stream* input_stream_new(struct sink *s, struct sample_spec *spec, const char *name); +void input_stream_free(struct input_stream* i); + +void input_stream_notify(struct input_stream *i); + +#endif |