Searched refs:audio (Results 1 – 25 of 132) sorted by relevance
123456
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;33 import ohos.hdi.audio.v1_0.AudioTypes;34 import ohos.hdi.audio.v1_0.IAudioAdapter;37 …* @brief Manages audio adapters through a specific adapter driver program loaded based on the give…46 * @brief Obtains the list of all adapters supported by an audio driver.[all …]
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;33 import ohos.hdi.audio.v1_0.AudioTypes;37 …* @brief Provides capabilities for audio capturing, including controlling the capturing, setting a…38 * scenes, and volume, and capturing audio frames.44 * @brief Reads a frame of input data (uplink data) from the audio driver for capturing.[all …]
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;33 import ohos.hdi.audio.v1_0.AudioTypes;34 import ohos.hdi.audio.v1_0.IAudioCallback;37 …* @brief Provides capabilities for audio rendering, including controlling the rendering, setting a…38 * scenes, and volume, obtaining hardware latency, and rendering audio frames.[all …]
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;33 import ohos.hdi.audio.v1_0.AudioTypes;34 import ohos.hdi.audio.v1_0.IAudioRender;35 import ohos.hdi.audio.v1_0.IAudioCapture;36 import ohos.hdi.audio.v1_0.IAudioCallback;[all …]
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;34 * @brief Enumerates the audio port type.39 PORT_OUT_IN = 3, /**< Input/output port, supporting both audio input and output */43 * @brief Enumerates the pin of an audio adapter.68 * @brief Enumerates the audio category.[all …]
20 * @brief Provides unified APIs for audio services to access audio drivers.22 …* An audio service can obtain an audio driver object or agent and then call APIs provided by this …23 …* access different types of audio devices based on the audio IDs, thereby obtaining audio informat…24 * subscribing to or unsubscribing from audio data, enabling or disabling an audio,25 …* setting the audio data reporting mode, and setting audio options such as the accuracy and measur…31 package ohos.hdi.audio.v1_0;33 import ohos.hdi.audio.v1_0.AudioTypes;57 * @brief Register audio extra param callback that will be invoked during audio param event.
17 module_output_path = "hdf/audio"23 "$hdf_framework_path/model/audio/core/test/unittest/common",24 "$hdf_framework_path/model/audio/common/test/unittest/common",29 "$hdf_framework_path/model/audio/common/test/unittest/common/audio_codec_base_test.cpp",30 "$hdf_framework_path/model/audio/common/test/unittest/common/audio_dai_base_test.cpp",31 "$hdf_framework_path/model/audio/common/test/unittest/common/audio_dma_base_test.cpp",32 "$hdf_framework_path/model/audio/common/test/unittest/common/audio_dsp_base_test.cpp",33 "$hdf_framework_path/model/audio/common/test/unittest/common/audio_platform_base_test.cpp",34 "$hdf_framework_path/model/audio/core/test/unittest/common/audio_core_test.cpp",35 "$hdf_framework_path/model/audio/core/test/unittest/common/audio_host_test.cpp",[all …]
18 KHDF_AUDIO_ROOT_DIR = ../../../../../framework/model/audio19 KHDF_AUDIO_IMX8MM_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/osware/$(DEVICE_NAME)/drivers/audio20 …IO_IMX8MM_INC_DIR = drivers/hdf/framework/../../../device/board/osware/$(DEVICE_NAME)/drivers/audio21 …AUDIO_A311D_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/unionman/$(DEVICE_NAME)/kernel/hdf/audio22 …311D_INC_DIR = drivers/hdf/framework/../../../device/board/unionman/$(DEVICE_NAME)/kernel/hdf/audio63 $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/kaihong/khdvk_3566b/kernel/audio/108 -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/include/audio \115 -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/core/include \116 -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/sapm/include \117 -I$(srctree)/$(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/dispatch/include \[all …]
22 * The Host can use the interface provided by the module to create an audio session,23 * and exchange data with the audio.31 * @brief Defines the interfaces to start audio session, send render operation result,32 * and stop the audio session.44 * @brief Defines the interfaces to start audio session, send render operation result,45 * and stop the audio session.51 * @brief Start audio session and register the callback function.55 * @param queue Returns sharedMemQueue for audio data.65 * @brief Stop audio session.
22 * The Host can use the interface provided by the module to create an audio session,23 * and exchange data with the audio subsystem.31 * @brief Defines the callback function, including the start, suspend, stop operations from audio.40 * @brief Defines the callback function to start, suspend, stop audio render.46 * @brief Start audio render callback function.56 * @brief Suspend audio render callback function.66 * @brief Stop audio render callback function.
22 * The Host can use the interface provided by the module to create an audio session,23 * and exchange data with the audio subsystem.60 * @brief Defines the type of audio session.
16 package ohos.hdi.audio.effect.v1_0;19 * @brief Defines audio effect info for the effect loading.49 EFFECT_BUFFER_VOID_TYPE = 0, /**< raw audio data point to the start of the buffer */50 …EFFECT_BUFFER_FLOAT_SIGNED_32 = 1 << 0, /**< 32bit float type audio data point to the start of the…51 …EFFECT_BUFFER_SINGED_32 = 1 << 1, /**< 32bit signed type audio data point to the start of th…52 …EFFECT_BUFFER_SIGNED_16 = 1 << 2, /**< 16bit signed type audio data point to the start of th…53 …EFFECT_BUFFER_UNSIGNED_8 = 1 << 3, /**< 8bit unsigned type audio data point to the start of t…57 * @brief Defines audio effect process in buffer and out buffer.62 …byte[] rawData; /**< audio data point to the start of the buffer, the type is defined b…
16 import("//drivers/peripheral/audio/audio.gni")44 "//drivers/peripheral/bluetooth/audio/interfaces/include",45 "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include",46 "//drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/include",56 deps = [ "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough:hdi_audio_bluetooth" ]
1 # audio<a name="EN-US_TOPIC_0000001078525242"></a>15 - Create audio renderer and capturer.16 - Select an audio scene.17 - Set audio properties.18 - Set the audio volume and gain.19 - Start or stop audio playback and recording.29 drivers/peripheral/audio/30 └── interfaces # External interfaces provided by the audio driver module31 └── include # HDIs provided by the audio driver module for application development36 …audio driver module provides functions that can be directly called by the audio service. The APIs …[all …]
34 KHDF_AUDIO_ROOT_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/drivers/hdf_core/framework/model/audio49 $(KHDF_FRAMEWORK_ROOT_DIR)/include/audio \50 $(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/core/include \51 $(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/sapm/include \52 $(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/dispatch/include \53 $(KHDF_FRAMEWORK_ROOT_DIR)/model/audio/common/include \
37 bool "Enable HDF audio codec hi3516 driver"41 Answer Y to enable HDF audio codec hi3516 driver.44 bool "Enable HDF audio codec tf9879 driver"48 Answer Y to enable HDF audio codec tf9879 driver.
212 struct HdmiAudioInfoFrame *audio = &(infoFrame->audio); in HdmiInfoFramePacketAudioEncoding() local214 length = HDMI_INFOFRAME_PACKET_HEADER_LEN + audio->len; in HdmiInfoFramePacketAudioEncoding()227 buff[UINT8_ARRAY_TELEMENT_0] |= ((uint8_t)audio->codingType & HDMI_AUDIO_CODING_TYPE_MARK) << in HdmiInfoFramePacketAudioEncoding()229 buff[UINT8_ARRAY_TELEMENT_0] |= ((uint8_t)audio->channelCount & HDMI_AUDIO_CHANNEL_COUNT_MARK); in HdmiInfoFramePacketAudioEncoding()231 … buff[UINT8_ARRAY_TELEMENT_1] |= ((uint8_t)audio->sampleFreq & HDMI_AUDIO_SAMPLE_FREQUENCY_MARK) << in HdmiInfoFramePacketAudioEncoding()233 buff[UINT8_ARRAY_TELEMENT_1] |= ((uint8_t)audio->sampleSize & HDMI_AUDIO_SAMPLE_SIZE_MARK); in HdmiInfoFramePacketAudioEncoding()235 buff[UINT8_ARRAY_TELEMENT_2] |= ((uint8_t)audio->codingExtType & HDMI_AUDIO_CXT_MARK); in HdmiInfoFramePacketAudioEncoding()237 buff[UINT8_ARRAY_TELEMENT_3] |= audio->channelAllocation; in HdmiInfoFramePacketAudioEncoding()239 …buff[UINT8_ARRAY_TELEMENT_4] |= ((uint8_t)audio->levelShiftValue & HDMI_AUDIO_LEVEL_SHIFT_VALUE_MA… in HdmiInfoFramePacketAudioEncoding()241 …buff[UINT8_ARRAY_TELEMENT_4] |= ((uint8_t)audio->playBackLevel & HDMI_AUDIO_LEF_PLAYBACK_LEVEL_MAR… in HdmiInfoFramePacketAudioEncoding()[all …]
439 static void HdmiEdidExtAdbSampleRatePhase(struct HdmiEdidAudioInfo *audio, uint8_t data, uint8_t fo… in HdmiEdidExtAdbSampleRatePhase() argument442 audio->sampleRateNum < HDMI_EDID_EXTENSION_AUDIO_MAX_SAMPLE_RATE_NUM) { in HdmiEdidExtAdbSampleRatePhase()443 audio->sampleRate[audio->sampleRateNum] = HDMI_SAMPLE_RATE_32K; in HdmiEdidExtAdbSampleRatePhase()444 audio->sampleRateNum++; in HdmiEdidExtAdbSampleRatePhase()447 audio->sampleRateNum < HDMI_EDID_EXTENSION_AUDIO_MAX_SAMPLE_RATE_NUM) { in HdmiEdidExtAdbSampleRatePhase()448 audio->sampleRate[audio->sampleRateNum] = HDMI_SAMPLE_RATE_44K; in HdmiEdidExtAdbSampleRatePhase()449 audio->sampleRateNum++; in HdmiEdidExtAdbSampleRatePhase()452 audio->sampleRateNum < HDMI_EDID_EXTENSION_AUDIO_MAX_SAMPLE_RATE_NUM) { in HdmiEdidExtAdbSampleRatePhase()453 audio->sampleRate[audio->sampleRateNum] = HDMI_SAMPLE_RATE_48K; in HdmiEdidExtAdbSampleRatePhase()454 audio->sampleRateNum++; in HdmiEdidExtAdbSampleRatePhase()[all …]
43 "//drivers/peripheral/bluetooth/audio/interfaces/include",44 "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include",45 "//drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include",46 "//drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/include",66 "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/audio_adapter_info_common.cpp",67 "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/audio_common.cpp",
16 import("//drivers/peripheral/audio/audio.gni")65 "//drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include",66 "//drivers/peripheral/bluetooth/audio/supportlibs/adm_adapter/include",68 "//drivers/peripheral/bluetooth/audio/interfaces/include",
101 obj-$(CONFIG_DRIVERS_HDF_AUDIO_TEST) += $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/hdf_audio_test.o \102 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_host_test.o \103 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_core_test.o \104 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_parse_test.o \105 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_sapm_test.o \106 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_codec_base_test.o \107 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_dai_base_test.o \108 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_dma_base_test.o \109 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_dsp_base_test.o \110 … $(HDF_FRAMWORK_TEST_ROOT)/model/audio/src/audio_platform_base_test.o
15 …audio**: This sub-directory stores definitions of audio HDIs that can be used to manage loading an…
15 - audio:Audio HDI接口的定义,用于管理声卡驱动的加载和卸载、创建音频播放对象及录音对象、选择音频场景、设置音频属性及音量、控制音频播放及录音的启停等,详见audio目录下的[re…
11 [audio] section20 devices_list = ["audio"] argument
1 - [HDF Audio系统测试用例使用指南](#hdf-audio系统测试用例使用指南)30 测试用例路径:drivers/peripheral/audio/test/systemtest346 …_audio_feature_alsa_lib = true"表示编译ALSA模式测试用例,编译配置文件路径为./drivers/peripheral/audio/audio.gni文件内。</b>378 …因此针对不同的模式需要编译对应的测试用例,测试用的模式通过修改编译选项控制,编译配置文件路径为<b>“/drivers/peripheral/audio/audio.gni”</b>。编译选项为<…405 ./build.sh --product-name XXX --build-target drivers/peripheral/audio/test/systemtest409 ./build.sh --product-name rk3568 --build-target drivers/peripheral/audio/test/systemtest415 ./out/rk3568/tests/systemtest/drivers_peripheral_audio/audio420 …v两个音频文件,音频文件路径为drivers/peripheral/audio/test/resource/。推动至开发板”/data/test”目录下,具体哪些用例需要推送音频文件可查看driv…