| 215 | SqliteSampleBlockFactory::~SqliteSampleBlockFactory() = default; |
| 216 | |
| 217 | SampleBlockPtr SqliteSampleBlockFactory::DoCreate( |
| 218 | constSamplePtr src, size_t numsamples, sampleFormat srcformat ) |
| 219 | { |
| 220 | auto sb = std::make_shared<SqliteSampleBlock>(shared_from_this()); |
| 221 | sb->SetSamples(src, numsamples, srcformat); |
| 222 | // block id has now been assigned |
| 223 | mAllBlocks[ sb->GetBlockID() ] = sb; |
| 224 | return sb; |
| 225 | } |
| 226 | |
| 227 | auto SqliteSampleBlockFactory::GetActiveBlockIDs() -> SampleBlockIDs |
| 228 | { |
nothing calls this directly
no test coverage detected