Home
last modified time | relevance | path

Searched refs:event_msg (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc85 Event event_msg; in ProcessChunk() local
89 if (!ReadMessageFromFile(dump_file_, &event_msg)) { in ProcessChunk()
93 if (event_msg.type() == Event::INIT) { in ProcessChunk()
94 RTC_CHECK(event_msg.has_init()); in ProcessChunk()
95 HandleMessage(event_msg.init()); in ProcessChunk()
97 } else if (event_msg.type() == Event::STREAM) { in ProcessChunk()
98 RTC_CHECK(event_msg.has_stream()); in ProcessChunk()
99 HandleMessage(event_msg.stream()); in ProcessChunk()
101 } else if (event_msg.type() == Event::REVERSE_STREAM) { in ProcessChunk()
102 RTC_CHECK(event_msg.has_reverse_stream()); in ProcessChunk()
[all …]
Dunpack.cc78 Event event_msg; in do_main() local
95 while (ReadMessageFromFile(debug_file, &event_msg)) { in do_main()
96 if (event_msg.type() == Event::REVERSE_STREAM) { in do_main()
97 if (!event_msg.has_reverse_stream()) { in do_main()
102 const ReverseStream msg = event_msg.reverse_stream(); in do_main()
130 } else if (event_msg.type() == Event::STREAM) { in do_main()
132 if (!event_msg.has_stream()) { in do_main()
137 const Stream msg = event_msg.stream(); in do_main()
229 } else if (event_msg.type() == Event::CONFIG) { in do_main()
230 if (!event_msg.has_config()) { in do_main()
[all …]
Ddebug_dump_test.cc274 audioproc::Event event_msg; in VerifyDebugDump() local
276 while (ReadMessageFromFile(in_file, &event_msg)) { in VerifyDebugDump()
277 switch (event_msg.type()) { in VerifyDebugDump()
279 OnInitEvent(event_msg.init()); in VerifyDebugDump()
282 OnStreamEvent(event_msg.stream()); in VerifyDebugDump()
285 OnReverseStreamEvent(event_msg.reverse_stream()); in VerifyDebugDump()
288 OnConfigEvent(event_msg.config()); in VerifyDebugDump()
Dprocess_test.cc578 Event event_msg; in void_main() local
583 while (ReadMessageFromFile(pb_file, &event_msg)) { in void_main()
589 if (event_msg.type() == Event::INIT) { in void_main()
590 ASSERT_TRUE(event_msg.has_init()); in void_main()
591 const Init msg = event_msg.init(); in void_main()
651 } else if (event_msg.type() == Event::REVERSE_STREAM) { in void_main()
652 ASSERT_TRUE(event_msg.has_reverse_stream()); in void_main()
653 ReverseStream msg = event_msg.reverse_stream(); in void_main()
698 } else if (event_msg.type() == Event::STREAM) { in void_main()
699 ASSERT_TRUE(event_msg.has_stream()); in void_main()
[all …]
Daudio_processing_unittest.cc1716 audioproc::Event event_msg; in ProcessDebugDump() local
1719 while (ReadMessageFromFile(in_file, &event_msg)) { in ProcessDebugDump()
1720 if (event_msg.type() == audioproc::Event::INIT) { in ProcessDebugDump()
1721 const audioproc::Init msg = event_msg.init(); in ProcessDebugDump()
1745 } else if (event_msg.type() == audioproc::Event::REVERSE_STREAM) { in ProcessDebugDump()
1746 const audioproc::ReverseStream msg = event_msg.reverse_stream(); in ProcessDebugDump()
1765 } else if (event_msg.type() == audioproc::Event::STREAM) { in ProcessDebugDump()
1766 const audioproc::Stream msg = event_msg.stream(); in ProcessDebugDump()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc627 debug_dump_.capture.event_msg->set_type(audioproc::Event::STREAM); in ProcessStream()
628 audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); in ProcessStream()
643 audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); in ProcessStream()
717 debug_dump_.capture.event_msg->set_type(audioproc::Event::STREAM); in ProcessStream()
718 audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); in ProcessStream()
732 audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); in ProcessStream()
747 audioproc::Stream* msg = debug_dump_.capture.event_msg->mutable_stream(); in ProcessStreamLocked()
895 debug_dump_.render.event_msg->set_type(audioproc::Event::REVERSE_STREAM); in AnalyzeReverseStreamLocked()
897 debug_dump_.render.event_msg->mutable_reverse_stream(); in AnalyzeReverseStreamLocked()
965 debug_dump_.render.event_msg->set_type(audioproc::Event::REVERSE_STREAM); in AnalyzeReverseStream()
[all …]
Daudio_processing_impl.h137 ApmDebugDumpThreadState() : event_msg(new audioproc::Event()) {} in ApmDebugDumpThreadState()
138 rtc::scoped_ptr<audioproc::Event> event_msg; // Protobuf message. member