Lines Matching refs:adapter

21  * accessing a driver adapter, and rendering and capturing audios.
30 * @brief Declares APIs for operations related to the audio adapter.
45 * @brief Provides audio adapter capabilities, including initializing ports, creating rendering and capturing tasks,
55 * @brief Initializes all ports of an audio adapter.
61 * @param adapter Indicates the pointer to the audio adapter to operate.
64 int32_t (*InitAllPorts)(struct AudioAdapter *adapter);
69 * @param adapter Indicates the pointer to the audio adapter to operate.
70 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
78 int32_t (*CreateRender)(struct AudioAdapter *adapter, const struct AudioDeviceDescriptor *desc,
86 * @param adapter Indicates the pointer to the audio adapter to operate.
91 int32_t (*DestroyRender)(struct AudioAdapter *adapter, struct AudioRender *render);
96 * @param adapter Indicates the pointer to the audio adapter to operate.
97 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
105 int32_t (*CreateCapture)(struct AudioAdapter *adapter, const struct AudioDeviceDescriptor *desc,
113 * @param adapter Indicates the pointer to the audio adapter to operate.
118 int32_t (*DestroyCapture)(struct AudioAdapter *adapter, struct AudioCapture *capture);
121 * @brief Obtains the capability set of the port driver for the audio adapter.
123 * @param adapter Indicates the pointer to the audio adapter to operate.
128 int32_t (*GetPortCapability)(struct AudioAdapter *adapter, const struct AudioPort *port,
134 * @param adapter Indicates the pointer to the audio adapter to operate.
140 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port,
146 * @param adapter Indicates the pointer to the audio adapter to operate.
152 int32_t (*GetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port,
158 * @param adapter Indicates the pointer to the audio adapter to operate.
164 int32_t (*UpdateAudioRoute)(struct AudioAdapter *adapter, const struct AudioRoute *route, int32_t *routeHandle);
169 * @param adapter Indicates the pointer to the audio adapter to operate.
174 int32_t (*ReleaseAudioRoute)(struct AudioAdapter *adapter, int32_t routeHandle);
179 * @param adapter Indicates the pointer to the audio adapter to operate.
185 int32_t (*SetMicMute)(struct AudioAdapter *adapter, bool mute);
190 * @param adapter Indicates the pointer to the audio adapter to operate.
196 int32_t (*GetMicMute)(struct AudioAdapter *adapter, bool *mute);
204 * @param adapter Indicates the pointer to the audio adapter to operate.
209 int32_t (*SetVoiceVolume)(struct AudioAdapter *adapter, float volume);
214 * @param adapter Indicates the audio adapter.
228 int32_t (*SetExtraParams)(struct AudioAdapter *adapter, enum AudioExtParamKey key,
234 * @param adapter Indicates the audio adapter.
249 int32_t (*GetExtraParams)(struct AudioAdapter *adapter, enum AudioExtParamKey key,
255 * @param adapter Indicates the audio adapter.
260 int32_t (*RegExtraParamObserver)(struct AudioAdapter *adapter, ParamCallback callback, void* cookie);
262 * @brief Get the device status of an adapter.
264 * @param adapter Indicates the audio adapter.
268 int32_t (*GetDeviceStatus)(struct AudioAdapter *adapter, struct AudioDeviceStatus *status);