Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/audio/test/sample/
H A Dframework_common.c110 case PCM_8_BIT: { in CheckWavFileHeader()
152 headInfo.audioSampleRate * headInfo.audioChannelNum * headInfo.audioFileFmtSize / PCM_8_BIT; in AddWavFileHeader()
153 …nfo.audioBlockAlign = (uint16_t)(headInfo.audioChannelNum * headInfo.audioFileFmtSize / PCM_8_BIT); in AddWavFileHeader()
220 return PCM_8_BIT; in PcmFormatToBits()
H A Dframework_common.h52 PCM_8_BIT = 8, /* 8-bit PCM */ enumerator
H A Didl_capture.c47 #define PCM_8_BIT 8 macro
184 captureAttrs->frameSize = PCM_16_BIT * captureAttrs->channelCount / PCM_8_BIT; in InitAttrsCapture()
H A Didl_render.c167 attrs->frameSize = PCM_16_BIT * attrs->channelCount / PCM_8_BIT; in InitAttrs()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/
H A Daudio_capturer_source.h34 #define PCM_8_BIT 8 macro
H A Daudio_capturer_source.cpp497 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrsCapture()
/ohos5.0/drivers/peripheral/audio/test/fuzztest/common/include/
H A Daudio_adm_fuzzer_common.h73 PCM_8_BIT = 8, enumerator
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp68 const uint32_t PCM_8_BIT = 8; variable
298 param.frameSize = PCM_16_BIT * param.channelCount / PCM_8_BIT; in CreateRender()
326 frameSizeInByte_ = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in PrepareMmapBuffer()
368 byteSizePerFrame = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in GetMmapBufferInfo()
398 return PCM_8_BIT; in PcmFormatToBits()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp86 static constexpr uint32_t PCM_8_BIT = 8; member in OHOS::AudioStandard::FastAudioCapturerSourceInner
192 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrsCapture()
357 return PCM_8_BIT; in PcmFormatToBits()
378 byteSizePerFrame = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in GetMmapBufferInfo()
404 uint32_t frameSizeInByte = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in PrepareMmapBuffer()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp67 const uint32_t PCM_8_BIT = 8; variable
317 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrs()
388 return PCM_8_BIT; in PcmFormatToBits()
407 param.frameSize = PcmFormatToBits(param.format) * param.channelCount / PCM_8_BIT; in CreateRender()
1045 frameSizeInByte_ = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in PrepareMmapBuffer()
1079 byteSizePerFrame = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in GetMmapBufferInfo()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp55 const uint32_t PCM_8_BIT = 8; variable
290 return PCM_8_BIT; in PcmFormatToBits()
311 byteSizePerFrame = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in GetMmapBufferInfo()
367 frameSizeInByte_ = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in PrepareMmapBuffer()
436 param.frameSize = PcmFormatToBits(attr_.format) * param.channelCount / PCM_8_BIT; in CreateRender()
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/adapter/
H A Daudio_adapter_benchmarktest.cpp31 #define PCM_8_BIT 8 macro
93 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrs()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp119 static constexpr uint32_t PCM_8_BIT = 8; member in OHOS::AudioStandard::RemoteFastAudioCapturerSourceInner
414 byteSizePerFrame = PcmFormatToBits(attr_.format) * attr_.channel / PCM_8_BIT; in GetMmapBufferInfo()
745 return PCM_8_BIT; in PcmFormatToBits()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/
H A Dmultichannel_audio_renderer_sink.cpp55 const uint32_t PCM_8_BIT = 8; variable
424 return PCM_8_BIT; in PcmFormatToBits()
471 param.frameSize = PcmFormatToBits(param.format) * param.channelCount / PCM_8_BIT; in CreateRender()
/ohos5.0/drivers/peripheral/audio/test/unittest/common/adapter/
H A Daudio_adapter_common_test.cpp33 #define PCM_8_BIT 8 macro
93 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrs()
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/include/
H A Dhdi_service_common.h83 constexpr int PCM_8_BIT = 8; variable
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/hdi_common/include/
H A Daudio_hdi_common.h119 constexpr int PCM_8_BIT = 8; variable
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/
H A Doffload_audio_renderer_sink.cpp54 const uint32_t PCM_8_BIT = 8; variable
533 return PCM_8_BIT; in PcmFormatToBits()
589 param.frameSize = PcmFormatToBits(param.format) * param.channelCount / PCM_8_BIT; in CreateRender()
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/
H A Daudio_hdi_common.cpp193 return PCM_8_BIT; in PcmFormatToBits()
211 if (formatBits < PCM_8_BIT || formatBits > PCM_32_BIT) { in PcmFramesToBytes()
238 case PCM_8_BIT: { in WavHeadAnalysis()
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/hdi_service_common/src/
H A Dhdi_service_common.cpp189 return PCM_8_BIT; in PcmFormatToBits()
208 if (formatBits < PCM_8_BIT || formatBits > PCM_32_BIT) { in PcmFramesToBytes()
239 case PCM_8_BIT: { in WavHeadAnalysis()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/primary/
H A Daudio_renderer_sink.cpp61 const uint32_t PCM_8_BIT = 8; variable
640 return PCM_8_BIT; in PcmFormatToBits()
701 param.frameSize = PcmFormatToBits(param.format) * param.channelCount / PCM_8_BIT; in CreateRender()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/
H A Dremote_audio_renderer_sink.cpp74 const uint32_t PCM_8_BIT = 8; variable
368 param.frameSize = PCM_16_BIT * param.channelCount / PCM_8_BIT; in CreateRender()
/ohos5.0/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_render.c46 #define PCM_8_BIT 8 macro
728 *ms = (periodSize * SEC_TO_MILLSEC) / (byteRate * RENDER_2_CHS * PCM_16_BIT / PCM_8_BIT); in AudioRenderGetLatency()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp149 const uint32_t PCM_8_BIT = 8; variable
207 return PCM_8_BIT; in GetSampleFormatValue()
3132 audioStreamInfo.channels) / (PCM_8_BIT * BT_BUFFER_ADJUSTMENT_FACTOR); in LoadA2dpModule()
3170 audioStreamInfo.channels) / (PCM_8_BIT * BT_BUFFER_ADJUSTMENT_FACTOR); in ReloadA2dpAudioPort()
4338 * streamInfo.channels) / (PCM_8_BIT * BT_BUFFER_ADJUSTMENT_FACTOR); in ReloadA2dpOffloadOnDeviceChanged()
4869 * streamInfo.channels) / PCM_8_BIT * RENDER_FRAME_INTERVAL_IN_SECONDS; in LoadInnerCapturerSink()