summaryrefslogtreecommitdiffstats
path: root/libAACdec/src/aacdecoder.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-05-20 17:24:06 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2014-05-20 17:24:06 -0700
commitaf967fcc55656a0d3c2a05982713f1ca43c1252b (patch)
tree8678c6321030a5340b3d3409a17b6335c91a62e6 /libAACdec/src/aacdecoder.h
parentfb2e845179a04cc259f1e66dcc68e023d2ef433a (diff)
downloadfdk-aac-dabplus-af967fcc55656a0d3c2a05982713f1ca43c1252b.tar.gz
fdk-aac-dabplus-af967fcc55656a0d3c2a05982713f1ca43c1252b.tar.bz2
fdk-aac-dabplus-af967fcc55656a0d3c2a05982713f1ca43c1252b.zip
AAC Decoder: flush/seek improvements
Improve flushing and seeking. Add field to the API stream info structure signaling the additional output delay for flushing and delay compensation. Bug 9428126 Change-Id: I808412905563ea3de50a2e77a9b5dfee829cd2ed
Diffstat (limited to 'libAACdec/src/aacdecoder.h')
-rw-r--r--libAACdec/src/aacdecoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libAACdec/src/aacdecoder.h b/libAACdec/src/aacdecoder.h
index bcbc040..3541773 100644
--- a/libAACdec/src/aacdecoder.h
+++ b/libAACdec/src/aacdecoder.h
@@ -198,7 +198,10 @@ struct AAC_DECODER_INSTANCE {
CAacDecoderCommonData aacCommonData; /*!< Temporal shared data for all channels hooked into pAacDecoderChannelInfo */
CConcealParams concealCommonData;
- INT concealChannels;
+
+ INT aacChannelsPrev; /*!< The amount of AAC core channels of the last successful decode call. */
+ AUDIO_CHANNEL_TYPE channelTypePrev[(8)]; /*!< Array holding the channelType values of the last successful decode call. */
+ UCHAR channelIndicesPrev[(8)]; /*!< Array holding the channelIndices values of the last successful decode call. */
HANDLE_SBRDECODER hSbrDecoder; /*!< SBR decoder handle. */