diff options
Diffstat (limited to 'src/outputstream.h')
-rw-r--r-- | src/outputstream.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/outputstream.h b/src/outputstream.h new file mode 100644 index 00000000..41054341 --- /dev/null +++ b/src/outputstream.h @@ -0,0 +1,22 @@ +#ifndef foooutputstreamhfoo +#define foooutputstreamhfoo + +#include <inttypes.h> +#include "source.h" +#include "sample.h" +#include "memblockq.h" + +struct output_stream { + char *name; + uint32_t index; + + struct source *source; + struct sample_spec spec; + + struct memblockq *memblockq; +}; + +struct output_stream* output_stream_new(struct source *s, struct sample_spec *spec, const char *name); +void output_stream_free(struct output_stream* o); + +#endif |