mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
26 lines
499 B
C
26 lines
499 B
C
|
|
#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
|