Home
last modified time | relevance | path

Searched refs:playPositionShift (Results 1 – 1 of 1) sorted by relevance

/dports/audio/rezound/rezound-0.13.1beta/src/backend/
H A DCActionSound.cpp49 const int playPositionShift=s_to_samples_offset(gPlayPositionShift,sound->getSampleRate()); in CActionSound() local
50 if(playPositionShift!=0) in CActionSound()
52 …if(playPositionShift>0 && (playPosition+playPositionShift)<sound->getLength()) // don't overrun th… in CActionSound()
53 playPosition+=playPositionShift; in CActionSound()
54 …else if(playPositionShift<0 && (sample_fpos_t)playPosition>playPositionShift) // don't underrun ze… in CActionSound()
55 playPosition+=playPositionShift; in CActionSound()