Home
last modified time | relevance | path

Searched refs:totalBufferFrames (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/audio/
H A D_audio_mmap_buffer_descripter_v10.md22 | int [totalBufferFrames](#totalbufferframes) | 缓冲区总大小,单位:帧。 |
82 ### totalBufferFrames subsection
85 int AudioMmapBufferDescripter::totalBufferFrames
H A D_audio_mmap_buffer_descripter_v20.md22 | int [totalBufferFrames](#totalbufferframes) | 缓冲区总大小,单位:帧。 |
82 ### totalBufferFrames subsection
85 int AudioMmapBufferDescripter::totalBufferFrames
/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_platform_base.c490 *totalSize = (uint32_t)data->mmapData.totalBufferFrames * data->renderPcmInfo.frameSize; in AudioRenderPlatformDataInit()
562 txMmapData->totalBufferFrames <= 0) { in AudioPcmMmapWrite()
569 data->mmapData.totalBufferFrames = txMmapData->totalBufferFrames; in AudioPcmMmapWrite()
574 data->mmapData.offset, data->mmapData.memoryAddress, data->mmapData.totalBufferFrames, in AudioPcmMmapWrite()
645 *totalSize = (uint32_t)rxMmapData->totalBufferFrames * data->capturePcmInfo.frameSize; in AudioCapturePlatformDataInit()
658 rxMmapData->totalBufferFrames <= 0) { in AudioMmapReadTransfer()
709 || rxMmapData->totalBufferFrames <= 0); in AudioPcmMmapRead()
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/lib_common/src/
H A Daudio_lib_common.cpp170 frameCaptureMode.mmapBufDesc.totalBufferFrames = fileSize / in CaptureReqMmapBufferInit()
206 frameRenderMode.mmapBufDesc.totalBufferFrames = fileSize / in RenderReqMmapBufferInit()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp331 desc.memoryFd, desc.totalBufferFrames, desc.transferFrameSize, in InitAshmem()
336 CHECK_AND_RETURN_RET_LOG(desc.totalBufferFrames >= 0 && desc.transferFrameSize >= 0 && in InitAshmem()
339 desc.totalBufferFrames, desc.transferFrameSize); in InitAshmem()
340 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); in InitAshmem()
344 ashmemLen_ = desc.totalBufferFrames * attrs.channelCount * attrs.format; in InitAshmem()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp336 … desc.memoryFd, desc.totalBufferFrames, desc.transferFrameSize, desc.isShareable, desc.offset); in PrepareMmapBuffer()
340 CHECK_AND_RETURN_RET_LOG(desc.totalBufferFrames >= 0 && desc.transferFrameSize >= 0 && in PrepareMmapBuffer()
343 desc.totalBufferFrames, desc.transferFrameSize); in PrepareMmapBuffer()
344 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp412 … desc.memoryFd, desc.totalBufferFrames, desc.transferFrameSize, desc.isShareable, desc.offset); in PrepareMmapBuffer()
416 CHECK_AND_RETURN_RET_LOG(desc.totalBufferFrames >= 0 && desc.transferFrameSize >= 0 && in PrepareMmapBuffer()
419 desc.totalBufferFrames, desc.transferFrameSize); in PrepareMmapBuffer()
420 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
/ohos5.0/drivers/peripheral/distributed_audio/interface/audio/v1_0/
H A Dtypes.h148 int32_t totalBufferFrames; member
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Dfast_audio_render.cpp343 desc->totalBufferFrames = realSize; in FastRenderReqMmapBuffer()
346 __func__, desc->memoryFd, desc->transferFrameSize, desc->totalBufferFrames); in FastRenderReqMmapBuffer()
/ohos5.0/drivers/peripheral/bluetooth/audio/interfaces/include/
H A Daudio_types.h288 int32_t totalBufferFrames; /**< Total size of the mmap buffer (unit: frame )*/ member
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp375 … desc.memoryFd, desc.totalBufferFrames, desc.transferFrameSize, desc.isShareable, desc.offset); in PrepareMmapBuffer()
379 CHECK_AND_RETURN_RET_LOG(desc.totalBufferFrames >= 0 && desc.transferFrameSize >= 0 && in PrepareMmapBuffer()
382 desc.totalBufferFrames, desc.transferFrameSize); in PrepareMmapBuffer()
383 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/
H A Daudio_capture_vdi.c478 desc->totalBufferFrames = vdiDesc.totalBufferFrames; in AudioCaptureReqMmapBufferVdi()
486 if (desc->totalBufferFrames < 0) { in AudioCaptureReqMmapBufferVdi()
488 desc->totalBufferFrames *= -1; in AudioCaptureReqMmapBufferVdi()
/ohos5.0/drivers/hdf_core/framework/model/audio/core/include/
H A Daudio_host.h229 int32_t totalBufferFrames; /**< Total size of the mmap buffer (unit: frame )*/ member
/ohos5.0/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audiocapture_fuzzer/
H A Daudiocapture_fuzzer.cpp67 .totalBufferFrames = temp, in AudioCaptureReqMmapBuffer()
/ohos5.0/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audiorender_fuzzer/
H A Daudiorender_fuzzer.cpp68 .totalBufferFrames = temp, in AudioRenderReqMmapBuffer()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp1055 … desc.memoryFd, desc.totalBufferFrames, desc.transferFrameSize, desc.isShareable, desc.offset); in PrepareMmapBuffer()
1059 CHECK_AND_RETURN_RET_LOG(desc.totalBufferFrames >= 0 && desc.transferFrameSize >= 0 && in PrepareMmapBuffer()
1062 desc.totalBufferFrames, desc.transferFrameSize); in PrepareMmapBuffer()
1063 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
/ohos5.0/foundation/distributedhardware/distributed_audio/common/include/
H A Daudio_types.h362 int32_t totalBufferFrames; /**< Total size of the mmap buffer (unit: frame )*/ member
/ohos5.0/drivers/peripheral/audio/interfaces/2.0/include/
H A Daudio_types.h363 int32_t totalBufferFrames; /**< Total size of the mmap buffer (unit: frame )*/ member
/ohos5.0/drivers/peripheral/audio/interfaces/include/
H A Daudio_types.h362 int32_t totalBufferFrames; /**< Total size of the mmap buffer (unit: frame )*/ member
/ohos5.0/drivers/peripheral/audio/interfaces/sound/v1_0/
H A Daudio_types_vdi.h386 int32_t totalBufferFrames; member
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/
H A Daudio_proxy_common.cpp302 if (!HdfSbufWriteInt32(data, desc->totalBufferFrames)) { in AudioProxyReqMmapBufferWrite()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/distributed_audio_audio_v1_0/cpp_target/distributed_audio/audio/v1_0/
H A Daudio_types.cpp.txt529 if (!data.WriteInt32(dataBlock.totalBufferFrames)) {
530 HDF_LOGE("%{public}s: write dataBlock.totalBufferFrames failed!", __func__);
569 if (!data.ReadInt32(dataBlock.totalBufferFrames)) {
570 HDF_LOGE("%{public}s: read dataBlock.totalBufferFrames failed!", __func__);
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/
H A Daudio_alsa_if_lib_capture_test.cpp497 handleData->frameCaptureMode.mmapBufDesc.totalBufferFrames = capMmapFrameData / capFrameSize;
528 handleData->frameCaptureMode.mmapBufDesc.totalBufferFrames = capMmapFrameData / mmapFrameSize;
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_capture_ext_impl.cpp307 desc.totalBufferFrames = realSize; in ReqMmapBuffer()
/ohos5.0/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/
H A Daudio_alsa_if_lib_render_test.cpp564 handleData->frameRenderMode.mmapBufDesc.totalBufferFrames = mmapFrameData / frameSize;
594 handleData->frameRenderMode.mmapBufDesc.totalBufferFrames = mmapFrameData / mmapFrameSize;

123