summaryrefslogtreecommitdiffstats
path: root/polyp/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
committerLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
commite02be6c15beddec976220bce2ee1a68520286c01 (patch)
treeda9cfdfd7a254fa7e8e21b1ef29456b852dbc133 /polyp/source.h
parent9a01cf44f09e92e14a720f4f531e943a50f26b72 (diff)
* fix include file names in installed header files
* add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/source.h')
-rw-r--r--polyp/source.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/polyp/source.h b/polyp/source.h
index 1e6310b0..0fac2b34 100644
--- a/polyp/source.h
+++ b/polyp/source.h
@@ -31,6 +31,7 @@ struct pa_source;
#include "memblock.h"
#include "memchunk.h"
#include "sink.h"
+#include "typeid.h"
#define PA_MAX_OUTPUTS_PER_SOURCE 16
@@ -44,6 +45,7 @@ struct pa_source {
enum pa_source_state state;
uint32_t index;
+ pa_typeid_t typeid;
char *name, *description;
struct pa_module *owner;
@@ -57,7 +59,7 @@ struct pa_source {
void *userdata;
};
-struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail, const struct pa_sample_spec *spec);
+struct pa_source* pa_source_new(struct pa_core *core, pa_typeid_t typeid, const char *name, int fail, const struct pa_sample_spec *spec);
void pa_source_disconnect(struct pa_source *s);
void pa_source_unref(struct pa_source *s);
struct pa_source* pa_source_ref(struct pa_source *c);