Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_capture_ext_impl.cpp308 ashmemLength_ = realSize * static_cast<int32_t>(devAttrs_.channelCount) * devAttrs_.format; in ReqMmapBuffer()
309 … DHLOGI("Init ashmem real sample size : %{public}d, length: %{public}d.", realSize, ashmemLength_); in ReqMmapBuffer()
310 int32_t ret = InitAshmem(ashmemLength_); in ReqMmapBuffer()
323 ret = audioExtCallback_->RefreshAshmemInfo(captureId_, fd_, ashmemLength_, lengthPerTrans_); in ReqMmapBuffer()
H A Daudio_render_ext_impl.cpp426 ashmemLength_ = realSize * static_cast<int32_t>(devAttrs_.channelCount) * devAttrs_.format; in ReqMmapBuffer()
427 … DHLOGI("Init ashmem real sample size : %{public}d, length: %{public}d.", realSize, ashmemLength_); in ReqMmapBuffer()
428 int32_t ret = InitAshmem(ashmemLength_); in ReqMmapBuffer()
441 ret = audioExtCallback_->RefreshAshmemInfo(renderId_, fd_, ashmemLength_, lengthPerTrans_); in ReqMmapBuffer()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddspeaker_dev.cpp342 ashmemLength_ = ashmemLength; in RefreshAshmemInfo()
345 fd, ashmemLength_, lengthPerTrans_); in RefreshAshmemInfo()
395 if (readIndex_ >= ashmemLength_) { in EnqueueThread()
H A Ddmic_dev.cpp405 ashmemLength_ = ashmemLength; in RefreshAshmemInfo()
408 fd, ashmemLength_, lengthPerTrans_); in RefreshAshmemInfo()
468 if (writeIndex_ >= ashmemLength_) { in EnqueueThread()
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/
H A Ddspeaker_dev.h106 int32_t ashmemLength_ = -1; variable
H A Ddmic_dev.h128 int32_t ashmemLength_ = -1; variable
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/
H A Daudio_capture_ext_impl.h99 int32_t ashmemLength_ = 0; variable
H A Daudio_render_ext_impl.h120 int32_t ashmemLength_ = 0; variable