| 225 | } |
| 226 | |
| 227 | auto SqliteSampleBlockFactory::GetActiveBlockIDs() -> SampleBlockIDs |
| 228 | { |
| 229 | SampleBlockIDs result; |
| 230 | for (auto end = mAllBlocks.end(), it = mAllBlocks.begin(); it != end;) { |
| 231 | if (it->second.expired()) |
| 232 | // Tighten up the map |
| 233 | it = mAllBlocks.erase(it); |
| 234 | else { |
| 235 | result.insert( it->first ); |
| 236 | ++it; |
| 237 | } |
| 238 | } |
| 239 | return result; |
| 240 | } |
| 241 | |
| 242 | SampleBlockPtr SqliteSampleBlockFactory::DoCreateSilent( |
| 243 | size_t numsamples, sampleFormat ) |
no test coverage detected