summaryrefslogtreecommitdiffstats
path: root/src/read-vorbis.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-26 03:32:26 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-26 03:32:26 +0200
commit65837e669bf8b02819f02db9d7d21a47babe1356 (patch)
tree9f1e30ae457fd8f20fe93f9f94d5d331733dd3df /src/read-vorbis.h
parenta094ed99c3231baf9a9ae1d003c67b86fd7faa59 (diff)
add proper multichannel support (includes of WAVEX files)
Diffstat (limited to 'src/read-vorbis.h')
-rw-r--r--src/read-vorbis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/read-vorbis.h b/src/read-vorbis.h
index c98c7e5..6edbcaf 100644
--- a/src/read-vorbis.h
+++ b/src/read-vorbis.h
@@ -24,6 +24,8 @@
#include <stdio.h>
#include <inttypes.h>
+#include "read-sound-file.h"
+
typedef struct ca_vorbis ca_vorbis;
int ca_vorbis_open(ca_vorbis **v, FILE *f);
@@ -31,6 +33,7 @@ void ca_vorbis_close(ca_vorbis *v);
unsigned ca_vorbis_get_nchannels(ca_vorbis *v);
unsigned ca_vorbis_get_rate(ca_vorbis *v);
+const ca_channel_position_t* ca_vorbis_get_channel_map(ca_vorbis *v);
int ca_vorbis_read_s16ne(ca_vorbis *v, int16_t *d, size_t *n);