Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp145 uint32_t bufferTotalFrameSize_ = 0; member in OHOS::AudioStandard::FastAudioRendererSinkInner
309 totalSizeInframe = bufferTotalFrameSize_; in GetMmapBufferInfo()
324 …curReadPos_ = frameSizeInByte_ * (frames - bufferTotalFrameSize_ * (frames / bufferTotalFrameSize_ in GetMmapHandlePosition()
383 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
386 …CHECK_AND_RETURN_RET_LOG(frameSizeInByte_ <= ULLONG_MAX / bufferTotalFrameSize_, ERR_OPERATION_FAI… in PrepareMmapBuffer()
388 bufferSize_ = bufferTotalFrameSize_ * frameSizeInByte_; in PrepareMmapBuffer()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp151 uint32_t bufferTotalFrameSize_ = 0; member in OHOS::AudioStandard::RemoteFastAudioRendererSinkInner
344 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
347 …CHECK_AND_RETURN_RET_LOG(frameSizeInByte_ <= ULLONG_MAX / bufferTotalFrameSize_, ERR_OPERATION_FAI… in PrepareMmapBuffer()
351 bufferSize_ = bufferTotalFrameSize_ * frameSizeInByte_; in PrepareMmapBuffer()
366 totalSizeInframe = bufferTotalFrameSize_; in GetMmapBufferInfo()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp110 uint32_t bufferTotalFrameSize_ = 0; member in OHOS::AudioStandard::FastAudioCapturerSourceInner
376 totalSizeInframe = bufferTotalFrameSize_; in GetMmapBufferInfo()
420 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
423 CHECK_AND_RETURN_RET_LOG(frameSizeInByte <= ULLONG_MAX / bufferTotalFrameSize_, in PrepareMmapBuffer()
425 bufferSize_ = bufferTotalFrameSize_ * frameSizeInByte; in PrepareMmapBuffer()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp169 uint32_t bufferTotalFrameSize_ = 0; member in OHOS::AudioStandard::BluetoothRendererSinkInner
1063 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); // 1440 ~ 3840 in PrepareMmapBuffer()
1066 …CHECK_AND_RETURN_RET_LOG(frameSizeInByte_ <= ULLONG_MAX / bufferTotalFrameSize_, ERR_OPERATION_FAI… in PrepareMmapBuffer()
1068 bufferSize_ = bufferTotalFrameSize_ * frameSizeInByte_; in PrepareMmapBuffer()
1077 totalSizeInframe = bufferTotalFrameSize_; in GetMmapBufferInfo()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp132 uint32_t bufferTotalFrameSize_ = 0; member in OHOS::AudioStandard::RemoteFastAudioCapturerSourceInner
340 bufferTotalFrameSize_ = static_cast<uint32_t>(desc.totalBufferFrames); in InitAshmem()
412 totalSizeInframe = bufferTotalFrameSize_; in GetMmapBufferInfo()