Lines Matching refs:audio
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;
39 …* @brief Provides audio adapter capabilities, including initializing ports, creating rendering and…
49 * @brief Initializes all ports of an audio adapter.
55 * @param adapter Indicates the pointer to the audio adapter to operate.
63 * @param adapter Indicates the pointer to the audio adapter to operate.
64 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
65 * @param attrs Indicates the pointer to the audio sampling attributes to open.
78 * @attention Do not destroy the object during audio rendering.
80 * @param adapter Indicates the pointer to the audio adapter to operate.
90 * @param adapter Indicates the pointer to the audio adapter to operate.
91 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
92 * @param attrs Indicates the pointer to the audio sampling attributes to open.
105 * @attention Do not destroy the object during audio capturing.
107 * @param adapter Indicates the pointer to the audio adapter to operate.
115 * @brief Obtains the capability set of the port driver for the audio adapter.
117 * @param adapter Indicates the pointer to the audio adapter to operate.
125 * @brief Sets the passthrough data transmission mode of the audio port driver.
127 * @param adapter Indicates the pointer to the audio adapter to operate.
136 * @brief Obtains the passthrough data transmission mode of the audio port driver.
138 * @param adapter Indicates the pointer to the audio adapter to operate.
149 * @param adapter Indicates the audio adapter.
156 * @brief Update audio route on several source and sink ports.
158 * @param adapter Indicates the pointer to the audio adapter to operate.
167 * @brief Release an audio route.
169 * @param adapter Indicates the pointer to the audio adapter to operate.
177 * @brief Sets the mute operation for the audio.
179 * @param adapter Indicates the pointer to the audio adapter to operate.
180 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio,
188 * @brief Obtains the mute operation set for the audio.
190 * @param adapter Indicates the pointer to the audio adapter to operate.
191 …* @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> mea…
192 * the audio is muted, and <b>false</b> means the opposite.
199 * @brief Sets the audio volume for voice call.
201 … * The volume ranges from 0.0 to 1.0. If the volume level in an audio service ranges from 0 to 15,
202 …* <b>0.0</b> indicates that the audio is muted, and <b>1.0</b> indicates the maximum volume level …
204 * @param adapter Indicates the pointer to the audio adapter to operate.
212 * @brief Sets extra audio parameters.
214 * @param adapter Indicates the audio adapter.
231 * @brief Get extra audio parameters.
233 * @param adapter Indicates the audio adapter.
251 * @brief Register extra audio parameters observer.
253 * @param adapter Indicates the audio adapter.