Bump to WebRTC M120 release
Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone. We're continuing to carry iSAC even though it's gone upstream, but maybe we'll want to drop that soon.
This commit is contained in:
@ -14,25 +14,9 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
BlockBuffer::BlockBuffer(size_t size,
|
||||
size_t num_bands,
|
||||
size_t num_channels,
|
||||
size_t frame_length)
|
||||
BlockBuffer::BlockBuffer(size_t size, size_t num_bands, size_t num_channels)
|
||||
: size(static_cast<int>(size)),
|
||||
buffer(size,
|
||||
std::vector<std::vector<std::vector<float>>>(
|
||||
num_bands,
|
||||
std::vector<std::vector<float>>(
|
||||
num_channels,
|
||||
std::vector<float>(frame_length, 0.f)))) {
|
||||
for (auto& block : buffer) {
|
||||
for (auto& band : block) {
|
||||
for (auto& channel : band) {
|
||||
std::fill(channel.begin(), channel.end(), 0.f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
buffer(size, Block(num_bands, num_channels)) {}
|
||||
|
||||
BlockBuffer::~BlockBuffer() = default;
|
||||
|
||||
|
Reference in New Issue
Block a user