From e61c2dddb7bc392ab4073d5691870615ada82922 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 3 Jul 2004 23:35:12 +0000 Subject: add pa_ prefix to all identifiers. fix downsampling/resampling add support for U8 samples git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@49 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/source.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/source.h') diff --git a/src/source.h b/src/source.h index 186271c0..03d540c8 100644 --- a/src/source.h +++ b/src/source.h @@ -1,7 +1,7 @@ #ifndef foosourcehfoo #define foosourcehfoo -struct source; +struct pa_source; #include #include "core.h" @@ -10,28 +10,28 @@ struct source; #include "memblock.h" #include "memchunk.h" -struct source { +struct pa_source { uint32_t index; char *name; - struct core *core; + struct pa_core *core; struct pa_sample_spec sample_spec; - struct idxset *outputs; + struct pa_idxset *outputs; - void (*notify)(struct source*source); + void (*notify)(struct pa_source*source); void *userdata; }; -struct source* source_new(struct core *core, const char *name, int fail, const struct pa_sample_spec *spec); -void source_free(struct source *s); +struct pa_source* pa_source_new(struct pa_core *core, const char *name, int fail, const struct pa_sample_spec *spec); +void pa_source_free(struct pa_source *s); /* Pass a new memory block to all output streams */ -void source_post(struct source*s, struct memchunk *b); +void pa_source_post(struct pa_source*s, struct pa_memchunk *b); -void source_notify(struct source *s); +void pa_source_notify(struct pa_source *s); -char *source_list_to_string(struct core *c); +char *pa_source_list_to_string(struct pa_core *c); -struct source* source_get_default(struct core *c); +struct pa_source* pa_source_get_default(struct pa_core *c); #endif -- cgit