| 69 | SampleBlock::~SampleBlock() = default; |
| 70 | |
| 71 | size_t SampleBlock::GetSamples(samplePtr dest, |
| 72 | sampleFormat destformat, |
| 73 | size_t sampleoffset, |
| 74 | size_t numsamples, bool mayThrow) |
| 75 | { |
| 76 | try{ return DoGetSamples(dest, destformat, sampleoffset, numsamples); } |
| 77 | catch( ... ) { |
| 78 | if( mayThrow ) |
| 79 | throw; |
| 80 | ClearSamples( dest, destformat, 0, numsamples ); |
| 81 | return 0; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | MinMaxRMS SampleBlock::GetMinMaxRMS( |
| 86 | size_t start, size_t len, bool mayThrow) |
nothing calls this directly
no test coverage detected