From 644fa968869e52b4bfe7bc1833c25d7ab9df7cca Mon Sep 17 00:00:00 2001 From: peah Date: Thu, 18 Aug 2016 06:48:33 -0700 Subject: [PATCH] Added recording of the configuration for the AudioFrame API call BUG=webrtc:6227 Review-Url: https://codereview.webrtc.org/2252043003 Cr-Commit-Position: refs/heads/master@{#13819} --- webrtc/modules/audio_processing/audio_processing_impl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc index 2a2e54d5db..3b3a9518b1 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl.cc +++ b/webrtc/modules/audio_processing/audio_processing_impl.cc @@ -638,6 +638,8 @@ int AudioProcessingImpl::ProcessStream(AudioFrame* frame) { #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP if (debug_dump_.debug_file->is_open()) { + RETURN_ON_ERR(WriteConfigMessage(false)); + debug_dump_.capture.event_msg->set_type(audioproc::Event::STREAM); audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); const size_t data_size =