/ohos5.0/drivers/peripheral/audio/test/sample/ |
H A D | framework_common.c | 110 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 D | framework_common.h | 52 PCM_8_BIT = 8, /* 8-bit PCM */ enumerator
|
H A D | idl_capture.c | 47 #define PCM_8_BIT 8 macro 184 captureAttrs->frameSize = PCM_16_BIT * captureAttrs->channelCount / PCM_8_BIT; in InitAttrsCapture()
|
H A D | idl_render.c | 167 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 D | audio_capturer_source.h | 34 #define PCM_8_BIT 8 macro
|
H A D | audio_capturer_source.cpp | 497 attrs.frameSize = PCM_16_BIT * attrs.channelCount / PCM_8_BIT; in InitAttrsCapture()
|
/ohos5.0/drivers/peripheral/audio/test/fuzztest/common/include/ |
H A D | audio_adm_fuzzer_common.h | 73 PCM_8_BIT = 8, enumerator
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/ |
H A D | remote_fast_audio_renderer_sink.cpp | 68 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 D | fast_audio_capturer_source.cpp | 86 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 D | bluetooth_renderer_sink.cpp | 67 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 D | fast_audio_renderer_sink.cpp | 55 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 D | audio_adapter_benchmarktest.cpp | 31 #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 D | remote_fast_audio_capturer_source.cpp | 119 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 D | multichannel_audio_renderer_sink.cpp | 55 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 D | audio_adapter_common_test.cpp | 33 #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 D | hdi_service_common.h | 83 constexpr int PCM_8_BIT = 8; variable
|
/ohos5.0/drivers/peripheral/audio/test/systemtest/common/hdi_common/include/ |
H A D | audio_hdi_common.h | 119 constexpr int PCM_8_BIT = 8; variable
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/ |
H A D | offload_audio_renderer_sink.cpp | 54 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 D | audio_hdi_common.cpp | 193 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 D | hdi_service_common.cpp | 189 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 D | audio_renderer_sink.cpp | 61 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 D | remote_audio_renderer_sink.cpp | 74 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 D | audio_render.c | 46 #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 D | audio_policy_service.cpp | 149 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()
|