summaryrefslogtreecommitdiff
path: root/include/opus.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-11-30 15:56:33 -0500
committerJean-Marc Valin <jmvalin@amazon.com>2022-11-30 15:56:33 -0500
commitf61282cab9f2580db64e5a48ebb224c5acb4fba0 (patch)
treef7e410177de5fdaaf89c539176e09b21ac61ff9b /include/opus.h
parent43779321d5cf41b3133f62c8e1ad30b066af124f (diff)
downloadopus-exp_neural_fec2c.tar.gz
Code for extracting DRED from packetexp_neural_fec2c
Diffstat (limited to 'include/opus.h')
-rw-r--r--include/opus.h3
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.