diff options
author | Jean-Marc Valin <jmvalin@amazon.com> | 2022-11-29 00:34:28 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-06-16 20:01:20 +0300 |
commit | 5ad2aebd905f92c8d2e737a6a6e0b813bdb7e72e (patch) | |
tree | 6a36723efba101cd0d1a8050c72c3c2b45c49beb /include | |
parent | 3dc9c6eda61e12c35b71780101eaa82d8ca58d03 (diff) |
Code for inserting/extracting DRED in/from packets
Diffstat (limited to 'include')
-rw-r--r-- | include/opus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opus.h b/include/opus.h index 0c69c627..d96c9d6b 100644 --- a/include/opus.h +++ b/include/opus.h @@ -511,6 +511,9 @@ OPUS_EXPORT int opus_decoder_ctl(OpusDecoder *st, int request, ...) OPUS_ARG_NON */ OPUS_EXPORT void opus_decoder_destroy(OpusDecoder *st); +OPUS_EXPORT int opus_decoder_dred_input(OpusDecoder *st, const unsigned char *data, + opus_int32 len, int offset) OPUS_ARG_NONNULL(1); + /** Parse an opus packet into one or more frames. * Opus_decode will perform this operation internally so most applications do * not need to use this function. |