diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-20 23:11:53 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-21 11:51:59 -0500 |
commit | b3eba24babafa96cc35cd830e5a7ec5a86acda69 (patch) | |
tree | bfb145083fe46b72322d28e39c3e4eb77715f677 /src/opus_private.h | |
parent | 7509fdb813e768da61b1a7db3df759d3e6efb1d1 (diff) | |
download | libopus-b3eba24babafa96cc35cd830e5a7ec5a86acda69.tar.gz |
Capping lsb_depth to 16 unless using the float API of a float build
Diffstat (limited to 'src/opus_private.h')
-rw-r--r-- | src/opus_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opus_private.h b/src/opus_private.h index 1362073c..977f4a25 100644 --- a/src/opus_private.h +++ b/src/opus_private.h @@ -84,6 +84,9 @@ int get_mono_channel(const ChannelLayout *layout, int stream_id, int prev); int encode_size(int size, unsigned char *data); +opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, + unsigned char *data, opus_int32 out_data_bytes, int lsb_depth); + int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, int *packet_offset); |