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.
44 * @brief Provides audio adapter capabilities, including initializing ports, creating rendering and capturing tasks,
54 * @brief Initializes all ports of an audio adapter.
60 * @param adapter Indicates the pointer to the audio adapter to operate.
63 int32_t (*InitAllPorts)(struct AudioAdapter *adapter);
68 * @param adapter Indicates the pointer to the audio adapter to operate.
69 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
77 int32_t (*CreateRender)(struct AudioAdapter *adapter, const struct AudioDeviceDescriptor *desc,
85 * @param adapter Indicates the pointer to the audio adapter to operate.
90 int32_t (*DestroyRender)(struct AudioAdapter *adapter, struct AudioRender *render);
95 * @param adapter Indicates the pointer to the audio adapter to operate.
96 * @param desc Indicates the pointer to the descriptor of the audio adapter to start.
104 int32_t (*CreateCapture)(struct AudioAdapter *adapter, const struct AudioDeviceDescriptor *desc,
112 * @param adapter Indicates the pointer to the audio adapter to operate.
117 int32_t (*DestroyCapture)(struct AudioAdapter *adapter, struct AudioCapture *capture);
120 * @brief Obtains the capability set of the port driver for the audio adapter.
122 * @param adapter Indicates the pointer to the audio adapter to operate.
127 int32_t (*GetPortCapability)(struct AudioAdapter *adapter, const struct AudioPort *port,
133 * @param adapter Indicates the pointer to the audio adapter to operate.
139 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port,
145 * @param adapter Indicates the pointer to the audio adapter to operate.
151 int32_t (*GetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port,
157 * @param adapter Indicates the pointer to the audio adapter to operate.
163 int32_t (*UpdateAudioRoute)(struct AudioAdapter *adapter, const struct AudioRoute *route, int32_t *routeHandle);
168 * @param adapter Indicates the pointer to the audio adapter to operate.
173 int32_t (*ReleaseAudioRoute)(struct AudioAdapter *adapter, int32_t routeHandle);
178 * @param adapter Indicates the pointer to the audio adapter to operate.
184 int32_t (*SetMicMute)(struct AudioAdapter *adapter, bool mute);
189 * @param adapter Indicates the pointer to the audio adapter to operate.
195 int32_t (*GetMicMute)(struct AudioAdapter *adapter, bool *mute);
203 * @param adapter Indicates the pointer to the audio adapter to operate.
208 int32_t (*SetVoiceVolume)(struct AudioAdapter *adapter, float volume);
213 * @param adapter Indicates the audio adapter.
227 int32_t (*SetExtraParams)(struct AudioAdapter *adapter, enum AudioExtParamKey key,
233 * @param adapter Indicates the audio adapter.
248 int32_t (*GetExtraParams)(struct AudioAdapter *adapter, enum AudioExtParamKey key,
254 * @param adapter Indicates the audio adapter.
259 int32_t (*RegExtraParamObserver)(struct AudioAdapter *adapter, ParamCallback callback, void* cookie);
261 * @brief Get the device status of an adapter.
263 * @param adapter Indicates the audio adapter.
267 int32_t (*GetDeviceStatus)(struct AudioAdapter *adapter, struct AudioDeviceStatus *status);