| 48 | } |
| 49 | |
| 50 | bool CDSampleManager::SetDSample(unsigned Index, std::shared_ptr<ft0cc::doc::dpcm_sample> pSamp) |
| 51 | { |
| 52 | if (Index >= m_pDSample.size()) |
| 53 | return false; |
| 54 | bool Changed = m_pDSample[Index] != pSamp; |
| 55 | m_pDSample[Index] = std::move(pSamp); |
| 56 | return Changed; |
| 57 | } |
| 58 | |
| 59 | bool CDSampleManager::IsSampleUsed(unsigned Index) const |
| 60 | { |
no test coverage detected