Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Dpa_renderer_stream_impl.cpp1052 int64_t framesInt = static_cast<int64_t>(frames) + timeDelta; in GetOffloadApproximatelyCacheTime() local
1053 framesInt = framesInt > 0 ? framesInt : 0; in GetOffloadApproximatelyCacheTime()
1055 if (framesInt + offloadTsOffset_ < readIndexInt - static_cast<int64_t>( in GetOffloadApproximatelyCacheTime()
1057 framesInt + offloadTsOffset_ > readIndexInt || first) { in GetOffloadApproximatelyCacheTime()
1058 offloadTsOffset_ = readIndexInt - framesInt; in GetOffloadApproximatelyCacheTime()
1060 cacheTimeDsp = static_cast<uint64_t>(readIndexInt - (framesInt + offloadTsOffset_)); in GetOffloadApproximatelyCacheTime()