Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/toneplayer/src/
H A Dtoneplayer_impl.cpp282 if (totalSample_ <= nextSegSample_) { in ContinueToneplay()
295 nextSegSample_ += (toneInfo_->segments[currSegment_].duration * samplingRate_) / C1000MS; in ContinueToneplay()
296 AUDIO_INFO_LOG("ContinueToneplay nextSegSample_: %{public}d", nextSegSample_); in ContinueToneplay()
413 nextSegSample_ = TONEINFO_INF; in InitToneWaveInfo()
415 nextSegSample_ = (toneInfo_->segments[0].duration * samplingRate_) / C1000MS; in InitToneWaveInfo()
417 AUDIO_INFO_LOG("Prepare wave, nextSegSample_: %{public}d", nextSegSample_); in InitToneWaveInfo()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/toneplayer/include/
H A Dtone_player_impl.h85 uint32_t nextSegSample_ = 0; // Position of next segment transition expressed in samples variable