summaryrefslogtreecommitdiffstats
path: root/libSBRdec/include/sbrdecoder.h
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2014-11-07 09:32:48 +0200
committerMartin Storsjo <martin@martin.st>2014-11-07 09:32:48 +0200
commit6ccecbc4b0dfca00f13999aa41b2c56f6b55a72f (patch)
treeda3cf1b27c50bd6d81be8b0183f494d15539027a /libSBRdec/include/sbrdecoder.h
parentce1863444a9e1d825c53bb3929f0b8fe664a6464 (diff)
parentd149516e1a3a63549d2c654b1398544d5de46a3e (diff)
downloadfdk-aac-6ccecbc4b0dfca00f13999aa41b2c56f6b55a72f.tar.gz
fdk-aac-6ccecbc4b0dfca00f13999aa41b2c56f6b55a72f.tar.bz2
fdk-aac-6ccecbc4b0dfca00f13999aa41b2c56f6b55a72f.zip
Merge remote-tracking branch 'aosp/master'
Diffstat (limited to 'libSBRdec/include/sbrdecoder.h')
-rw-r--r--libSBRdec/include/sbrdecoder.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libSBRdec/include/sbrdecoder.h b/libSBRdec/include/sbrdecoder.h
index 13707e0..174fb5c 100644
--- a/libSBRdec/include/sbrdecoder.h
+++ b/libSBRdec/include/sbrdecoder.h
@@ -145,6 +145,8 @@ typedef enum
SBR_SYSTEM_BITSTREAM_DELAY, /*!< System: Switch to enable an additional SBR bitstream delay of one frame. */
SBR_QMF_MODE, /*!< Set QMF mode, either complex or low power. */
SBR_LD_QMF_TIME_ALIGN, /*!< Set QMF type, either LD-MPS or CLDFB. Relevant for ELD streams only. */
+ SBR_FLUSH_DATA, /*!< Set internal state to flush the decoder with the next process call. */
+ SBR_CLEAR_HISTORY, /*!< Clear all internal states (delay lines, QMF states, ...). */
SBR_BS_INTERRUPTION /*!< Signal bit stream interruption. Value is ignored. */
} SBRDEC_PARAM;
@@ -308,7 +310,7 @@ SBR_ERROR sbrDecoder_Apply ( HANDLE_SBRDECODER self,
INT_PCM *timeData,
int *numChannels,
int *sampleRate,
- const UCHAR channelMapping[(6)],
+ const UCHAR channelMapping[(8)],
const int interleaved,
const int coreDecodedOk,
UCHAR *psDecoded );
@@ -329,6 +331,13 @@ SBR_ERROR sbrDecoder_Close ( HANDLE_SBRDECODER *self );
*/
INT sbrDecoder_GetLibInfo( LIB_INFO *info );
+/**
+ * \brief Determine the modules output signal delay in samples.
+ * \param self SBR decoder handle.
+ * \return The number of samples signal delay added by the module.
+ */
+UINT sbrDecoder_GetDelay( const HANDLE_SBRDECODER self );
+
#ifdef __cplusplus
}