mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@17 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
98f41f1e70
commit
78f386ad45
19 changed files with 269 additions and 201 deletions
27
src/sourceoutput.h
Normal file
27
src/sourceoutput.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue