aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec/include
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2014-05-20 17:39:03 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2014-05-20 17:39:03 -0700
commit6792cf6361ff339e336287affb0bfe54bf6957a9 (patch)
tree6c4e2434c706bb4b13763a097c1ae2c160eb96c0 /libSBRdec/include
parent8e087bf394c5ceddcdb8b1d029795aff3026eea0 (diff)
downloadfdk-aac-6792cf6361ff339e336287affb0bfe54bf6957a9.tar.gz
fdk-aac-6792cf6361ff339e336287affb0bfe54bf6957a9.tar.bz2
fdk-aac-6792cf6361ff339e336287affb0bfe54bf6957a9.zip
AAC-Decoder: SBR delay for gapless
Revise decoder output delay determination. The output delay consisted of concealment and limiter delay. SBR delay was not covered but must be considered for gapless playback delay compensation. Bug 9428126 Change-Id: I67483712c284de9b5378694f9db7acbed2547dd7
Diffstat (limited to 'libSBRdec/include')
-rw-r--r--libSBRdec/include/sbrdecoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libSBRdec/include/sbrdecoder.h b/libSBRdec/include/sbrdecoder.h
index 36a4739..174fb5c 100644
--- a/libSBRdec/include/sbrdecoder.h
+++ b/libSBRdec/include/sbrdecoder.h
@@ -331,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
}