summaryrefslogtreecommitdiffstats
path: root/src/outputstream.h
blob: 4105434101b44a3080d3630a9dca615f26d9ca04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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