summaryrefslogtreecommitdiffstats
path: root/src/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-15 17:05:03 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-15 17:05:03 +0000
commitb24546bedee168778a7aef11200dfb0378dfae43 (patch)
tree8fc0c27f32ff7b3c3cfd517ca724444c3e59904d /src/source.h
parent78f386ad45dc046d673fca5441dff188a7297059 (diff)
cleanup
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@18 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/source.h')
-rw-r--r--src/source.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/source.h b/src/source.h
index 3beb3f96..1442b9f0 100644
--- a/src/source.h
+++ b/src/source.h
@@ -10,14 +10,14 @@ struct source;
#include "memblock.h"
struct source {
- char *name;
uint32_t index;
+ char *name;
struct core *core;
struct sample_spec sample_spec;
- struct idxset *output_streams;
+ struct idxset *outputs;
- void (*link_change_callback)(struct source*source, void *userdata);
+ void (*notify)(struct source*source);
void *userdata;
};
@@ -27,4 +27,6 @@ void source_free(struct source *s);
/* Pass a new memory block to all output streams */
void source_post(struct source*s, struct memchunk *b);
+void source_notify(struct source *s);
+
#endif