56 |
si.BitDepth = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8; |
si.BitDepth = (pSample->GetFrameSize() / pSample->GetChannelCount()) * 8; |
57 |
si.TotalFrameCount = pSample->GetTotalFrameCount(); |
si.TotalFrameCount = pSample->GetTotalFrameCount(); |
58 |
|
|
59 |
si.HasLoops = false; // TODO: |
si.HasLoops = pRegion->HasLoop(); |
60 |
si.LoopStart = 0; // TODO: |
si.LoopStart = pRegion->GetLoopStart(); |
61 |
si.LoopLength = 0; // TODO: |
si.LoopLength = pRegion->GetLoopEnd() - pRegion->GetLoopStart(); |
62 |
si.LoopPlayCount = 0; // TODO: |
si.LoopPlayCount = pRegion->GetLoopCount(); |
63 |
si.Unpitched = false; // TODO: |
si.Unpitched = pRegion->pitch_keytrack == 0; |
64 |
return si; |
return si; |
65 |
} |
} |
66 |
|
|