Index: webrtc/common_audio/lapped_transform.h |
diff --git a/webrtc/common_audio/lapped_transform.h b/webrtc/common_audio/lapped_transform.h |
index 0d668d0fed1567f1d088298baf6c92157b962e43..42a103a854b14441dac666468161ef399e262a2d 100644 |
--- a/webrtc/common_audio/lapped_transform.h |
+++ b/webrtc/common_audio/lapped_transform.h |
@@ -86,6 +86,12 @@ class LappedTransform { |
// constructor. |
size_t num_out_channels() const { return num_out_channels_; } |
+ // Returns the initial delay. |
+ // |
+ // This is the delay introduced by the |blocker_| to be able to get and return |
+ // chunks of |chunk_length|, but process blocks of |block_length|. |
+ size_t initial_delay() const { return blocker_.initial_delay(); } |
+ |
private: |
// Internal middleware callback, given to the blocker. Transforms each block |
// and hands it over to the processing method given at construction time. |