Store RuntimeSetting in Aec Dumps.
Also read and apply settings when parsing and replaying dumps. The implementation contains * an extra field in debug.proto for the runtime settings * code in AudioProcessingImpl to initiate the logging of the RS to the AecDump * code in aec_dump/ to log the RS in the AecDump * code in test/ for re-playing the RS. E.g. for APM simulation with audioproc_f. Bug: webrtc:9138 Change-Id: Ia2a00537c2eb19484ff442fbffd0b95f8495516f Reviewed-on: https://webrtc-review.googlesource.com/70502 Commit-Queue: Alex Loiko <aleloi@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24647}
This commit is contained in:
@ -98,6 +98,9 @@ class AecDump {
|
||||
virtual void WriteRenderStreamMessage(
|
||||
const AudioFrameView<const float>& src) = 0;
|
||||
|
||||
virtual void WriteRuntimeSetting(
|
||||
const AudioProcessing::RuntimeSetting& runtime_setting) = 0;
|
||||
|
||||
// Logs Event::Type CONFIG message.
|
||||
virtual void WriteConfig(const InternalAPMConfig& config) = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user