Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-13 23:08:22 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-11-14 08:22:37 +0400
commitc5635d284b489c7705c2357cc4f0601587416b78 (patch)
tree61db8c6caf108d7b8ccdffbee91415b5e347cdd0 /include
parent8bbdf5fa0a98d686df6a3bdc5553dbdaa82b1019 (diff)
Adds packet padding that works for all codes and fixes 40/60 ms CBR.
Padding is now handled by the repacketizer.
Diffstat (limited to 'include')
-rw-r--r--include/opus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opus.h b/include/opus.h
index 38817b40..b9e89961 100644
--- a/include/opus.h
+++ b/include/opus.h
@@ -911,6 +911,8 @@ OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_repacketizer_get_nb_frames(OpusRepa
*/
OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_repacketizer_out(OpusRepacketizer *rp, unsigned char *data, opus_int32 maxlen) OPUS_ARG_NONNULL(1);
+OPUS_EXPORT OPUS_WARN_UNUSED_RESULT int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len);
+
/**@}*/
#ifdef __cplusplus