mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-01-06 17:40:15 +01:00
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@17 fefdeb5f-60dc-0310-8127-8f9354f1896f
27 lines
729 B
C
27 lines
729 B
C
#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;
|
|
void (*kill)(struct output_stream* i, void *userdata);
|
|
void *kill_userdata;
|
|
};
|
|
|
|
struct output_stream* output_stream_new(struct source *s, struct sample_spec *spec, const char *name);
|
|
void output_stream_free(struct output_stream* o);
|
|
|
|
void output_stream_set_kill_callback(struct output_stream *i, void (*kill)(struct output_stream*i, void *userdata), void *userdata);
|
|
void output_stream_kill(struct output_stream*i);
|
|
|
|
#endif
|