diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-17 16:23:42 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-02-10 23:53:43 -0500 |
commit | 744836604644fbb94409592069238088852db599 (patch) | |
tree | 37a1e5c31aa60049551fa0a50041f2dd47f1f103 /src/opus_private.h | |
parent | f548a5a35d4e808eba5224084034c09421edcc6a (diff) | |
download | opus-744836604644fbb94409592069238088852db599.tar.gz |
Multistream support for variable frame duration
Also fixes a bug with stereo streams where the initial memory was only
using the left channel.
Diffstat (limited to 'src/opus_private.h')
-rw-r--r-- | src/opus_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opus_private.h b/src/opus_private.h index 977f4a25..94de0033 100644 --- a/src/opus_private.h +++ b/src/opus_private.h @@ -81,6 +81,8 @@ int get_mono_channel(const ChannelLayout *layout, int stream_id, int prev); #define OPUS_SET_FORCE_MODE_REQUEST 11002 #define OPUS_SET_FORCE_MODE(x) OPUS_SET_FORCE_MODE_REQUEST, __opus_check_int(x) +int optimize_framesize(const opus_val16 *x, int len, int C, opus_int32 Fs, + int bitrate, opus_val16 tonality, opus_val32 *mem, int buffering); int encode_size(int size, unsigned char *data); |