+2
−0
Loading
This enables apm logging by setting the apm_debug_dump variable in gyp.mozbuild. Prior to this change, some files were including apm_data_dumper.h with logging enabled and some were not. This also removes the AEC* C interface and calls into webrtc::Trace directly. Whatever historical reasons for having a C interface into these calls no longer seems to apply. In addition reserving a buffer for the base file name and then ensuring it was null terminated caused an ASAN "stack-buffer-overflow" while testing. This was because it was not handling an empty base file name properly. This would not normally happen if AEC logging was enabled through about:webrtc, but it still seems safer to use std::string. MozReview-Commit-ID: Ikz5xO74syA