summaryrefslogtreecommitdiff
path: root/src/opus_private.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-27 00:52:26 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-27 01:15:43 -0400
commitd4e9340591f7be57fd0fdcda7a12fc7a7ca66e66 (patch)
tree788ce923f901dcf61ac4c2df28ba7208453879d3 /src/opus_private.h
parent6db1d526b4d2eca5f4f5ad2897c5d001b577d149 (diff)
downloadopus-d4e9340591f7be57fd0fdcda7a12fc7a7ca66e66.tar.gz
Adds support for multi-stream encoding/decoding
Only tested for the single-stream case!
Diffstat (limited to 'src/opus_private.h')
-rw-r--r--src/opus_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/opus_private.h b/src/opus_private.h
index 9015e389..6f47866a 100644
--- a/src/opus_private.h
+++ b/src/opus_private.h
@@ -29,8 +29,14 @@
#ifndef OPUS_PRIVATE_H
#define OPUS_PRIVATE_H
+#include "arch.h"
+#include "opus.h"
+
int encode_size(int size, unsigned char *data);
+int opus_decode_native(OpusDecoder *st, const unsigned char *data, int len,
+ opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, int *packet_offset);
+
/* Make sure everything's aligned to 4 bytes (this may need to be increased
on really weird architectures) */
static inline int align(int i)