diff options
Diffstat (limited to 'polyp/module-alsa-sink.c')
-rw-r--r-- | polyp/module-alsa-sink.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/polyp/module-alsa-sink.c b/polyp/module-alsa-sink.c index 9c75ff98..73c46ea0 100644 --- a/polyp/module-alsa-sink.c +++ b/polyp/module-alsa-sink.c @@ -40,6 +40,10 @@ #include "xmalloc.h" #include "log.h" +PA_MODULE_AUTHOR("Lennart Poettering") +PA_MODULE_DESCRIPTION("ALSA Sink") +PA_MODULE_VERSION(PACKAGE_VERSION) + struct userdata { snd_pcm_t *pcm_handle; struct pa_sink *sink; @@ -156,7 +160,7 @@ static uint32_t sink_get_latency_cb(struct pa_sink *s) { return pa_bytes_to_usec(frames * u->frame_size, &s->sample_spec); } -int pa_module_init(struct pa_core *c, struct pa_module*m) { +int pa__init(struct pa_core *c, struct pa_module*m) { struct pa_modargs *ma = NULL; int ret = -1; struct userdata *u = NULL; @@ -237,12 +241,12 @@ finish: fail: if (u) - pa_module_done(c, m); + pa__done(c, m); goto finish; } -void pa_module_done(struct pa_core *c, struct pa_module*m) { +void pa__done(struct pa_core *c, struct pa_module*m) { struct userdata *u; assert(c && m); |