]> code.delx.au - pulseaudio/blobdiff - src/tagstruct.h
main part of the native protocol
[pulseaudio] / src / tagstruct.h
index 5572c64c6a3fa1d0d2c6a6da1dc8624f4cf6092a..9f6a0bf4aad9c8e7b1c17905c1afa98f6d83107b 100644 (file)
@@ -15,12 +15,12 @@ uint8_t* tagstruct_free_data(struct tagstruct*t, size_t *l);
 void tagstruct_puts(struct tagstruct*t, const char *s);
 void tagstruct_putu32(struct tagstruct*t, uint32_t i);
 void tagstruct_putu8(struct tagstruct*t, uint8_t c);
-void tagstruct_put_sample_spec(struct tagstruct *t, struct sample_spec *ss);
+void tagstruct_put_sample_spec(struct tagstruct *t, const struct pa_sample_spec *ss);
 
 int tagstruct_gets(struct tagstruct*t, const char **s);
 int tagstruct_getu32(struct tagstruct*t, uint32_t *i);
 int tagstruct_getu8(struct tagstruct*t, uint8_t *c);
-int tagstruct_get_sample_spec(struct tagstruct *t, struct sample_spec *ss);
+int tagstruct_get_sample_spec(struct tagstruct *t, struct pa_sample_spec *ss);
 
 int tagstruct_eof(struct tagstruct*t);
 const uint8_t* tagstruct_data(struct tagstruct*t, size_t *l);