summaryrefslogtreecommitdiffstats
path: root/src/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink.c')
-rw-r--r--src/sink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sink.c b/src/sink.c
index cd12b463..a334424c 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -6,10 +6,11 @@
#include "sink.h"
#include "sinkinput.h"
#include "strbuf.h"
+#include "sample-util.h"
#define MAX_MIX_CHANNELS 32
-struct sink* sink_new(struct core *core, const char *name, const struct sample_spec *spec) {
+struct sink* sink_new(struct core *core, const char *name, const struct pa_sample_spec *spec) {
struct sink *s;
char *n = NULL;
int r;