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}
This commit is contained in:
peah 2016-08-18 06:48:33 -07:00 committed by Commit bot
parent 7320866091
commit 644fa96886

View File

@ -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 =