]> code.delx.au - pulseaudio/blobdiff - src/sink.c
main part of the native protocol
[pulseaudio] / src / sink.c
index cd12b463fa32ba85fb38be48f0f1efacaa52fc83..a334424c201c8797a01db0838b95440606bc18f6 100644 (file)
@@ -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;