Searched refs:playPositionShift (Results 1 – 1 of 1) sorted by relevance
49 const int playPositionShift=s_to_samples_offset(gPlayPositionShift,sound->getSampleRate()); in CActionSound() local50 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()