summaryrefslogtreecommitdiffstats
path: root/polyp/module-sine.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/module-sine.c')
-rw-r--r--polyp/module-sine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/module-sine.c b/polyp/module-sine.c
index 98e0dc28..b537452a 100644
--- a/polyp/module-sine.c
+++ b/polyp/module-sine.c
@@ -134,7 +134,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
calc_sine(u->memblock->data, u->memblock->length, frequency);
snprintf(t, sizeof(t), "Sine Generator at %u Hz", frequency);
- if (!(u->sink_input = pa_sink_input_new(sink, t, &ss)))
+ if (!(u->sink_input = pa_sink_input_new(sink, t, &ss, 0)))
goto fail;
u->sink_input->peek = sink_input_peek;