Referensi Struktur audio_policy

Referensi Struktur audio_policy

#include < audio_policy.h >

Bidang Data

ke dalam(* set_device_connection_state )(struct audio_policy *pol, perangkat audio_devices_t, status audio_policy_dev_state_t, const char *device_address)
audio_kebijakan_dev_state_t(* get_device_connection_state )(const struct audio_policy *pol, perangkat audio_devices_t, const char *device_address)
ruang kosong(* set_phone_state )(struct audio_policy *pol, status audio_mode_t)
ruang kosong(* set_ringer_mode )(struct audio_policy *pol, mode uint32_t, topeng uint32_t)
ruang kosong(* set_force_use )(struct audio_policy *pol, penggunaan audio_policy_force_use_t, konfigurasi audio_policy_forced_cfg_t)
audio_kebijakan_dipaksakan_cfg_t(* get_force_use )(const struct audio_policy *pol, audio_policy_force_use_t penggunaan)
ruang kosong(* set_can_mute_enforced_audible )(struktur audio_kebijakan *pol, bool can_mute)
ke dalam(* init_check )(const struct audio_policy *pol)
audio_io_handle_t(* get_output )(struct audio_policy *pol, audio_stream_type_t stream, uint32_t samplingRate, format audio_format_t, audio_channel_mask_t channelMask, flag audio_output_flags_t, const audio_offload_info_t *offloadInfo)
ke dalam(* start_output )(struct audio_policy *pol, output audio_io_handle_t, aliran audio_stream_type_t, sesi audio_session_t)
ke dalam(* stop_output )(struct audio_policy *pol, output audio_io_handle_t, aliran audio_stream_type_t, sesi audio_session_t)
ruang kosong(* rilis_output )(struct audio_policy *pol, audio_io_handle_t keluaran)
audio_io_handle_t(* get_input )(struct audio_policy *pol, audio_source_t inputSource, uint32_t samplingRate, format audio_format_t, audio_channel_mask_t channelMask, audio_in_acoustics_t akustik)
ke dalam(* start_input )(struct audio_policy *pol, audio_io_handle_t masukan)
ke dalam(* stop_input )(struct audio_policy *pol, audio_io_handle_t masukan)
ruang kosong(* rilis_input )(struct audio_policy *pol, audio_io_handle_t masukan)
ruang kosong(* init_stream_volume )(struct audio_policy *pol, aliran audio_stream_type_t, int indeks_min, int indeks_max)
ke dalam(* set_stream_volume_index )(struct audio_policy *pol, aliran audio_stream_type_t, int indeks)
ke dalam(* get_stream_volume_index )(const struct audio_policy *pol, audio_stream_type_t stream, int *index)
ke dalam(* set_stream_volume_index_for_device )(struct audio_policy *pol, aliran audio_stream_type_t, indeks int, perangkat audio_devices_t)
ke dalam(* get_stream_volume_index_for_device )(const struct audio_policy *pol, aliran audio_stream_type_t, int *index, perangkat audio_devices_t)
uint32_t(* get_strategy_for_stream )(const struct audio_policy *pol, audio_stream_type_t stream)
audio_perangkat_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)
ke dalam(* register_effect )(struct audio_policy *pol, const struct effect_descriptor_s *desc, output audio_io_handle_t, strategi uint32_t, sesi audio_session_t, int id)
ke dalam(* unregister_effect )(struct audio_policy *pol, int id)
ke dalam(* set_effect_enabled )(struct audio_policy *pol, int id, bool diaktifkan)
bodoh(* is_stream_active )(const struct audio_policy *pol, aliran audio_stream_type_t, uint32_t in_past_ms)
bodoh(* is_stream_active_remotely )(const struct audio_policy *pol, aliran audio_stream_type_t, uint32_t in_past_ms)
bodoh(* is_source_active )(const struct audio_policy *pol, audio_source_t sumber)
ke dalam(* membuang )(const struct audio_policy *pol, int fd)
bodoh(* is_offload_supported )(const struct audio_policy *pol, const audio_offload_info_t *info)

Detil Deskripsi

Definisi pada baris 83 file audio_policy.h .

Dokumentasi Lapangan

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

Definisi pada baris 244 file audio_policy.h .

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

Definisi pada baris 95 file audio_policy.h .

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

Definisi pada baris 214 file audio_policy.h .

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

Definisi pada baris 114 file audio_policy.h .

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

Definisi pada baris 158 file audio_policy.h .

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

Definisi pada baris 131 file audio_policy.h .

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

Definisi pada baris 218 file audio_policy.h .

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

Definisi pada baris 210 file audio_policy.h .

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

Definisi pada baris 191 file audio_policy.h .

int(* get_stream_volume_index_for_device)(const struct audio_policy *pol, aliran audio_stream_type_t, int *index, perangkat audio_devices_t)

Definisi pada baris 204 file audio_policy.h .

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

Definisi pada baris 123 file audio_policy.h .

batal(* init_stream_volume)(struct audio_policy *pol, aliran audio_stream_type_t, int indeks_min, int indeks_max)

Definisi pada baris 179 file audio_policy.h .

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

Definisi pada baris 247 file audio_policy.h .

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

Definisi pada baris 240 file audio_policy.h .

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

Definisi pada baris 232 file audio_policy.h .

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

Definisi pada baris 236 file audio_policy.h .

int(* register_effect)(struct audio_policy *pol, const struct effect_descriptor_s *desc, output audio_io_handle_t, strategi uint32_t, sesi audio_session_t, int id)

Definisi pada baris 221 file audio_policy.h .

batal(* rilis_input)(struct audio_policy *pol, audio_io_handle_t masukan)

Definisi pada baris 171 file audio_policy.h .

batal(* rilis_output)(struct audio_policy *pol, audio_io_handle_t keluaran)

Definisi pada baris 154 file audio_policy.h .

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

Definisi pada baris 119 file audio_policy.h .

int(* set_device_connection_state)(struct audio_policy *pol, perangkat audio_devices_t, status audio_policy_dev_state_t, const char *device_address)

Definisi pada baris 89 file audio_policy.h .

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

Definisi pada baris 230 file audio_policy.h .

void(* set_force_use)(struct audio_policy *pol, penggunaan audio_policy_force_use_t, konfigurasi audio_policy_forced_cfg_t)

Definisi pada baris 109 file audio_policy.h .

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

Definisi pada baris 102 file audio_policy.h .

batal(* set_ringer_mode)(struct audio_policy *pol, mode uint32_t, topeng uint32_t)

Definisi pada baris 105 file audio_policy.h .

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

Definisi pada baris 186 file audio_policy.h .

int(* set_stream_volume_index_for_device)(struct audio_policy *pol, aliran audio_stream_type_t, indeks int, perangkat audio_devices_t)

Definisi pada baris 198 file audio_policy.h .

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

Definisi pada baris 165 file audio_policy.h .

int(* start_output)(struct audio_policy *pol, output audio_io_handle_t, aliran audio_stream_type_t, sesi audio_session_t)

Definisi pada baris 141 file audio_policy.h .

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

Definisi pada baris 168 file audio_policy.h .

int(* stop_output)(struct audio_policy *pol, output audio_io_handle_t, aliran audio_stream_type_t, sesi audio_session_t)

Definisi pada baris 148 file audio_policy.h .

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

Definisi pada baris 228 file audio_policy.h .


Dokumentasi untuk struct ini dihasilkan dari file berikut: