summaryrefslogtreecommitdiffstats
path: root/src/sinkinput.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/sinkinput.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/sinkinput.h')
-rw-r--r--src/sinkinput.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/sinkinput.h b/src/sinkinput.h
index 8899a9ed..b28b51ef 100644
--- a/src/sinkinput.h
+++ b/src/sinkinput.h
@@ -8,36 +8,36 @@
#include "memblockq.h"
#include "resampler.h"
-struct sink_input {
+struct pa_sink_input {
uint32_t index;
char *name;
- struct sink *sink;
+ struct pa_sink *sink;
struct pa_sample_spec sample_spec;
uint32_t volume;
- int (*peek) (struct sink_input *i, struct memchunk *chunk);
- void (*drop) (struct sink_input *i, size_t length);
- void (*kill) (struct sink_input *i);
- uint32_t (*get_latency) (struct sink_input *i);
+ int (*peek) (struct pa_sink_input *i, struct pa_memchunk *chunk);
+ void (*drop) (struct pa_sink_input *i, size_t length);
+ void (*kill) (struct pa_sink_input *i);
+ uint32_t (*get_latency) (struct pa_sink_input *i);
void *userdata;
- struct memchunk resampled_chunk;
- struct resampler *resampler;
+ struct pa_memchunk resampled_chunk;
+ struct pa_resampler *resampler;
};
-struct sink_input* sink_input_new(struct sink *s, const char *name, const struct pa_sample_spec *spec);
-void sink_input_free(struct sink_input* i);
+struct pa_sink_input* pa_sink_input_new(struct pa_sink *s, const char *name, const struct pa_sample_spec *spec);
+void pa_sink_input_free(struct pa_sink_input* i);
/* Code that didn't create the input stream should call this function to
* request destruction of it */
-void sink_input_kill(struct sink_input *i);
+void pa_sink_input_kill(struct pa_sink_input *i);
-uint32_t sink_input_get_latency(struct sink_input *i);
-char *sink_input_list_to_string(struct core *c);
+uint32_t pa_sink_input_get_latency(struct pa_sink_input *i);
+char *pa_sink_input_list_to_string(struct pa_core *c);
-int sink_input_peek(struct sink_input *i, struct memchunk *chunk);
-void sink_input_drop(struct sink_input *i, size_t length);
+int pa_sink_input_peek(struct pa_sink_input *i, struct pa_memchunk *chunk);
+void pa_sink_input_drop(struct pa_sink_input *i, size_t length);
#endif