audio_policy-Strukturreferenz

audio_policy-Strukturreferenz

#include < audio_policy.h >

Datenfelder

int(* set_device_connection_state )(struct audio_policy *pol, audio_devices_t device, audio_policy_dev_state_t state, const char *device_address)
audio_policy_dev_state_t(* get_device_connection_state )(const struct audio_policy *pol, audio_devices_t device, const char *device_address)
Leere(* set_phone_state )(struct audio_policy *pol, audio_mode_t state)
Leere(* set_ringer_mode )(struct audio_policy *pol, uint32_t mode, uint32_t mask)
Leere(* set_force_use )(struct audio_policy *pol, audio_policy_force_use_t use, audio_policy_forced_cfg_t config)
audio_policy_forced_cfg_t(* get_force_use )(const struct audio_policy *pol, Verwendung von audio_policy_force_use_t)
Leere(* set_can_mute_enforced_audible )(struct audio_policy *pol, bool can_mute)
int(* init_check )(const struct audio_policy *pol)
audio_io_handle_t(* get_output )(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo)
int(* start_output )(struct audio_policy *pol, audio_io_handle_t Ausgabe, audio_stream_type_t Stream, audio_session_t Sitzung)
int(* stop_output )(struct audio_policy *pol, audio_io_handle_t Ausgabe, audio_stream_type_t Stream, audio_session_t Sitzung)
Leere(* release_output )(struct audio_policy *pol, audio_io_handle_t Ausgabe)
audio_io_handle_t(* get_input )(struct audio_policy *pol, audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, audio_in_acoustics_t Akustik)
int(* start_input )(struct audio_policy *pol, audio_io_handle_t Eingabe)
int(* stop_input )(struct audio_policy *pol, audio_io_handle_t Eingabe)
Leere(* release_input )(struct audio_policy *pol, audio_io_handle_t Eingabe)
Leere(* init_stream_volume )(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max)
int(* set_stream_volume_index )(struct audio_policy *pol, audio_stream_type_t stream, int index)
int(* get_stream_volume_index )(const struct audio_policy *pol, audio_stream_type_t stream, int *index)
int(* set_stream_volume_index_for_device )(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device)
int(* get_stream_volume_index_for_device )(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t Gerät)
uint32_t(* get_strategy_for_stream )(const struct audio_policy *pol, audio_stream_type_t stream)
audio_devices_t(* get_devices_for_stream )(const struct audio_policy *pol, audio_stream_type_t stream)
audio_io_handle_t(* get_output_for_effect )(struct audio_policy *pol, const struct effect_descriptor_s *desc)
int(* register_effect )(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t Ausgabe, uint32_t Strategie, audio_session_t Sitzung, int id)
int(* unregister_effect )(struct audio_policy *pol, int id)
int(* set_effect_enabled )(struct audio_policy *pol, int id, bool aktiviert)
bool(* is_stream_active )(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms)
bool(* is_stream_active_remotely )(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms)
bool(* is_source_active )(const struct audio_policy *pol, audio_source_t Quelle)
int(* dump )(const struct audio_policy *pol, int fd)
bool(* is_offload_supported )(const struct audio_policy *pol, const audio_offload_info_t *info)

detaillierte Beschreibung

Definition in Zeile 83 der Datei audio_policy.h .

Felddokumentation

int(* dump)(const struct audio_policy *pol, int fd)

Definition in Zeile 244 der Datei audio_policy.h .

audio_policy_dev_state_t(* get_device_connection_state)(const struct audio_policy *pol, audio_devices_t device, const char *device_address)

Definition in Zeile 95 der Datei audio_policy.h .

audio_devices_t(* get_devices_for_stream)(const struct audio_policy *pol, audio_stream_type_t stream)

Definition in Zeile 214 der Datei audio_policy.h .

audio_policy_forced_cfg_t(* get_force_use)(const struct audio_policy *pol, audio_policy_force_use_t use)

Definition in Zeile 114 der Datei audio_policy.h .

audio_io_handle_t(* get_input)(struct audio_policy *pol, audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, audio_in_acoustics_t Akustik)

Definition in Zeile 158 der Datei audio_policy.h .

audio_io_handle_t(* get_output)(struct audio_policy *pol, audio_stream_type_t stream, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo)

Definition in Zeile 131 der Datei audio_policy.h .

audio_io_handle_t(* get_output_for_effect)(struct audio_policy *pol, const struct effect_descriptor_s *desc)

Definition in Zeile 218 der Datei audio_policy.h .

uint32_t(* get_strategy_for_stream)(const struct audio_policy *pol, audio_stream_type_t stream)

Definition in Zeile 210 der Datei audio_policy.h .

int(* get_stream_volume_index)(const struct audio_policy *pol, audio_stream_type_t stream, int *index)

Definition in Zeile 191 der Datei audio_policy.h .

int(* get_stream_volume_index_for_device)(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t device)

Definition in Zeile 204 der Datei audio_policy.h .

int(* init_check)(const struct audio_policy *pol)

Definition in Zeile 123 der Datei audio_policy.h .

void(* init_stream_volume)(struct audio_policy *pol, audio_stream_type_t stream, int index_min, int index_max)

Definition in Zeile 179 der Datei audio_policy.h .

bool(* is_offload_supported)(const struct audio_policy *pol, const audio_offload_info_t *info)

Definition in Zeile 247 der Datei audio_policy.h .

bool(* is_source_active)(const struct audio_policy *pol, audio_source_t Quelle)

Definition in Zeile 240 der Datei audio_policy.h .

bool(* is_stream_active)(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms)

Definition in Zeile 232 der Datei audio_policy.h .

bool(* is_stream_active_remotely)(const struct audio_policy *pol, audio_stream_type_t stream, uint32_t in_past_ms)

Definition in Zeile 236 der Datei audio_policy.h .

int(* register_effect)(struct audio_policy *pol, const struct effect_descriptor_s *desc, audio_io_handle_t Ausgabe, uint32_t Strategie, audio_session_t Sitzung, int id)

Definition in Zeile 221 der Datei audio_policy.h .

void(* release_input)(struct audio_policy *pol, audio_io_handle_t Eingabe)

Definition in Zeile 171 der Datei audio_policy.h .

void(* release_output)(struct audio_policy *pol, audio_io_handle_t Ausgabe)

Definition in Zeile 154 der Datei audio_policy.h .

void(* set_can_mute_enforced_audible)(struct audio_policy *pol, bool can_mute)

Definition in Zeile 119 der Datei audio_policy.h .

int(* set_device_connection_state)(struct audio_policy *pol, audio_devices_t device, audio_policy_dev_state_t state, const char *device_address)

Definition in Zeile 89 der Datei audio_policy.h .

int(* set_effect_enabled)(struct audio_policy *pol, int id, bool aktiviert)

Definition in Zeile 230 der Datei audio_policy.h .

void(* set_force_use)(struct audio_policy *pol, audio_policy_force_use_t use, audio_policy_forced_cfg_t config)

Definition in Zeile 109 der Datei audio_policy.h .

void(* set_phone_state)(struct audio_policy *pol, audio_mode_t state)

Definition in Zeile 102 der Datei audio_policy.h .

void(* set_ringer_mode)(struct audio_policy *pol, uint32_t mode, uint32_t mask)

Definition in Zeile 105 der Datei audio_policy.h .

int(* set_stream_volume_index)(struct audio_policy *pol, audio_stream_type_t stream, int index)

Definition in Zeile 186 der Datei audio_policy.h .

int(* set_stream_volume_index_for_device)(struct audio_policy *pol, audio_stream_type_t stream, int index, audio_devices_t device)

Definition in Zeile 198 der Datei audio_policy.h .

int(* start_input)(struct audio_policy *pol, audio_io_handle_t Eingabe)

Definition in Zeile 165 der Datei audio_policy.h .

int(* start_output)(struct audio_policy *pol, audio_io_handle_t Ausgabe, audio_stream_type_t Stream, audio_session_t Sitzung)

Definition in Zeile 141 der Datei audio_policy.h .

int(* stop_input)(struct audio_policy *pol, audio_io_handle_t Eingabe)

Definition in Zeile 168 der Datei audio_policy.h .

int(* stop_output)(struct audio_policy *pol, audio_io_handle_t Ausgabe, audio_stream_type_t Stream, audio_session_t Sitzung)

Definition in Zeile 148 der Datei audio_policy.h .

int(* unregister_effect)(struct audio_policy *pol, int id)

Definition in Zeile 228 der Datei audio_policy.h .


Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert: