21 std::iota(ids.begin(), ids.end(), 1LL);
22 return { ids.begin(), ids.end() };
28 return std::make_shared<MockSampleBlock>(
35 std::vector<char> silence(numsamples *
SAMPLE_SIZE(srcformat));
36 return std::make_shared<MockSampleBlock>(
std::shared_ptr< SampleBlock > SampleBlockPtr
std::vector< Attribute > AttributesList
SampleBlockPtr DoCreateFromId(sampleFormat srcformat, SampleBlockID id) override
SampleBlockPtr DoCreateSilent(size_t numsamples, sampleFormat srcformat) override
SampleBlockIDs GetActiveBlockIDs() override
SampleBlockPtr DoCreate(constSamplePtr src, size_t numsamples, sampleFormat srcformat) override
SampleBlockPtr DoCreateFromXML(sampleFormat srcformat, const AttributesList &attrs) override
abstract base class with methods to produce SampleBlock objects
std::unordered_set< SampleBlockID > SampleBlockIDs