28class VoiceSamplePlaybackGuide final :
public SamplePlaybackGuide {
30 VoiceSamplePlaybackGuide();
31 void setupPlaybackBounds(
bool reversed)
override;
32 bool shouldObeyLoopEndPointNow();
33 int32_t getBytePosToStartPlayback(
bool justLooped)
override;
34 int32_t getBytePosToEndOrLoopPlayback()
override;
35 LoopType getLoopingType(
const Source& source)
const;
37 uint32_t getLoopStartPlaybackAtByte()
const {
return loopStartPlaybackAtByte; }
38 uint32_t getLoopEndPlaybackAtByte()
const {
39 return loopEndPlaybackAtByte ? loopEndPlaybackAtByte : endPlaybackAtByte;
42 uint32_t loopStartPlaybackAtByte;
44 uint32_t loopEndPlaybackAtByte;