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 D | audio_capture_ext_impl.cpp | 308 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 D | audio_render_ext_impl.cpp | 426 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 D | dspeaker_dev.cpp | 342 ashmemLength_ = ashmemLength; in RefreshAshmemInfo() 345 fd, ashmemLength_, lengthPerTrans_); in RefreshAshmemInfo() 395 if (readIndex_ >= ashmemLength_) { in EnqueueThread()
|
H A D | dmic_dev.cpp | 405 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 D | dspeaker_dev.h | 106 int32_t ashmemLength_ = -1; variable
|
H A D | dmic_dev.h | 128 int32_t ashmemLength_ = -1; variable
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_capture_ext_impl.h | 99 int32_t ashmemLength_ = 0; variable
|
H A D | audio_render_ext_impl.h | 120 int32_t ashmemLength_ = 0; variable
|