Remove AudioProcessing::ChannelLayout

This enum is no longer needed. Also moving the last piece of code from
common.h to audio_processing_impl.h, allowing to delete common.h.

Bug: chromium:1271981, b/217349489
Change-Id: If115336c36d6d7b5845a903e421c18aebfe434ee
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251242
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35946}
This commit is contained in:
Henrik Lundin
2022-02-08 09:15:12 +00:00
committed by WebRTC LUCI CQ
parent fd6c744a7c
commit 8a9aa55561
9 changed files with 4 additions and 66 deletions

View File

@ -154,8 +154,6 @@ void SetContainerFormat(int sample_rate_hz,
cb->reset(new ChannelBuffer<T>(frame->samples_per_channel, num_channels));
}
AudioProcessing::ChannelLayout LayoutFromChannels(size_t num_channels);
template <typename T>
float ComputeSNR(const T* ref, const T* test, size_t length, float* variance) {
float mse = 0;