summaryrefslogtreecommitdiffstats
path: root/src/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-03 23:35:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-03 23:35:12 +0000
commite61c2dddb7bc392ab4073d5691870615ada82922 (patch)
treeb7e98c4232ca855c7bac6ba88e47b7ff45a9cbe1 /src/source.h
parenta8a5ab1c79c0b6567ecc98343ff1ae944f2285b9 (diff)
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
Diffstat (limited to 'src/source.h')
-rw-r--r--src/source.h22
1 files changed, 11 insertions, 11 deletions
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 <inttypes.h>
#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