14#include <catch2/catch.hpp>
19 const auto numChannels = GENERATE(1, 2);
20 constexpr auto silenceSegmentLength = 3u;
22 REQUIRE(!sut.
Empty());
25 REQUIRE(!sut.
Empty());
TEST_CASE("SilenceSegment", "behaves as expected")
bool Empty() const override
Whether the segment has no more samples to provide.
size_t GetFloats(float *const *buffers, size_t numSamples) override
Fills buffers with as many as numSamples or the number of remaining samples, whichever is smaller.
std::vector< float * > channelPointers