Справочник по структуре audio_policy
#include < audio_policy.h >
Поля данных | |
интервал (* | 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) |
пустота(* | set_phone_state )(структура audio_policy *pol, состояние audio_mode_t) |
пустота(* | set_ringer_mode )(struct audio_policy *pol, режим uint32_t, маска uint32_t) |
пустота(* | set_force_use )(struct audio_policy *pol, использование audio_policy_force_use_t, конфигурация audio_policy_forced_cfg_t) |
audio_policy_forced_cfg_t(* | get_force_use )(const struct audio_policy *pol, использование audio_policy_force_use_t) |
пустота(* | set_can_mute_enforced_audible )(struct audio_policy *pol, bool can_mute) |
интервал (* | init_check )(const struct audio_policy *pol) |
audio_io_handle_t (* | get_output )(struct audio_policy *pol, поток audio_stream_type_t, uint32_t SampleRate, формат audio_format_t, audio_channel_mask_t channelMask, флаги audio_output_flags_t, const audio_offload_info_t *offloadInfo) |
интервал (* | start_output )(struct audio_policy *pol, вывод audio_io_handle_t, поток audio_stream_type_t, сеанс audio_session_t) |
интервал (* | stop_output )(struct audio_policy *pol, вывод audio_io_handle_t, поток audio_stream_type_t, сеанс audio_session_t) |
пустота(* | release_output )(структура audio_policy *pol, вывод audio_io_handle_t) |
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 акустика) |
интервал (* | start_input )(struct audio_policy *pol, вход audio_io_handle_t) |
интервал (* | stop_input )(struct audio_policy *pol, вход audio_io_handle_t) |
пустота(* | release_input )(struct audio_policy *pol, audio_io_handle_t input) |
пустота(* | init_stream_volume )(struct audio_policy *pol, поток audio_stream_type_t, int index_min, int index_max) |
интервал (* | set_stream_volume_index )(struct audio_policy *pol, поток audio_stream_type_t, индекс int) |
интервал (* | get_stream_volume_index )(const struct audio_policy *pol, поток audio_stream_type_t, int *index) |
интервал (* | set_stream_volume_index_for_device )(struct audio_policy *pol, поток audio_stream_type_t, индекс int, устройство audio_devices_t) |
интервал (* | get_stream_volume_index_for_device )(const struct audio_policy *pol, audio_stream_type_t stream, int *index, audio_devices_t устройство) |
uint32_t(* | get_strategy_for_stream )(const struct audio_policy *pol, поток audio_stream_type_t) |
audio_devices_t(* | get_devices_for_stream )(const struct audio_policy *pol, поток audio_stream_type_t) |
audio_io_handle_t (* | get_output_for_effect )(struct audio_policy *pol, const struct effect_descriptor_s *desc) |
интервал (* | register_effect )(struct audio_policy *pol, const struct effect_descriptor_s *desc, вывод audio_io_handle_t, стратегия uint32_t, сеанс audio_session_t, идентификатор int) |
интервал (* | unregister_effect )(struct audio_policy *pol, int id) |
интервал (* | set_effect_enabled )(struct audio_policy *pol, int id, bool включен) |
логический (* | is_stream_active )(const struct audio_policy *pol, поток audio_stream_type_t, uint32_t in_past_ms) |
логический (* | is_stream_active_remotely ) (const struct audio_policy *pol, поток audio_stream_type_t, uint32_t in_past_ms) |
логический (* | is_source_active )(const struct audio_policy *pol, источник audio_source_t) |
интервал (* | дамп )(const struct audio_policy *pol, int fd) |
логический (* | is_offload_supported )(const struct audio_policy *pol, const audio_offload_info_t *info) |
Подробное описание
Определение в строке 83 файла audio_policy.h .
Полевая документация
int(* dump)(const struct audio_policy *pol, int fd) |
Определение в строке 244 файла 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) |
Определение в строке 95 файла audio_policy.h .
audio_devices_t(* get_devices_for_stream)(const struct audio_policy *pol, поток audio_stream_type_t) |
Определение в строке 214 файла audio_policy.h .
audio_policy_forced_cfg_t(* get_force_use)(const struct audio_policy *pol, использование audio_policy_force_use_t) |
Определение в строке 114 файла 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 акустика) |
Определение в строке 158 файла audio_policy.h .
audio_io_handle_t(* get_output)(struct audio_policy *pol, поток audio_stream_type_t, uint32_t SampleRate, формат audio_format_t, audio_channel_mask_t channelMask, флаги audio_output_flags_t, const audio_offload_info_t *offloadInfo) |
Определение в строке 131 файла audio_policy.h .
audio_io_handle_t(* get_output_for_effect)(struct audio_policy *pol, const struct effect_descriptor_s *desc) |
Определение в строке 218 файла audio_policy.h .
uint32_t(* get_strategy_for_stream)(const struct audio_policy *pol, поток audio_stream_type_t) |
Определение в строке 210 файла audio_policy.h .
int(* get_stream_volume_index)(const struct audio_policy *pol, поток audio_stream_type_t, int *index) |
Определение в строке 191 файла audio_policy.h .
int(* get_stream_volume_index_for_device)(const struct audio_policy *pol, поток audio_stream_type_t, int *index, audio_devices_t устройство) |
Определение в строке 204 файла audio_policy.h .
int(* init_check)(const struct audio_policy *pol) |
Определение в строке 123 файла audio_policy.h .
void(* init_stream_volume)(struct audio_policy *pol, поток audio_stream_type_t, int index_min, int index_max) |
Определение в строке 179 файла audio_policy.h .
bool(* is_offload_supported)(const struct audio_policy *pol, const audio_offload_info_t *info) |
Определение в строке 247 файла audio_policy.h .
bool(* is_source_active)(const struct audio_policy *pol, источник audio_source_t) |
Определение в строке 240 файла audio_policy.h .
bool(* is_stream_active)(const struct audio_policy *pol, поток audio_stream_type_t, uint32_t in_past_ms) |
Определение в строке 232 файла audio_policy.h .
bool(* is_stream_active_remotely)(const struct audio_policy *pol, поток audio_stream_type_t, uint32_t in_past_ms) |
Определение в строке 236 файла audio_policy.h .
int(* register_effect)(struct audio_policy *pol, const struct effect_descriptor_s *desc, вывод audio_io_handle_t, стратегия uint32_t, сеанс audio_session_t, идентификатор int) |
Определение в строке 221 файла audio_policy.h .
void (* release_input) (struct audio_policy * pol, audio_io_handle_t input) |
Определение в строке 171 файла audio_policy.h .
void (* release_output) (struct audio_policy * pol, вывод audio_io_handle_t) |
Определение в строке 154 файла audio_policy.h .
void(* set_can_mute_enforced_audible)(struct audio_policy *pol, bool can_mute) |
Определение в строке 119 файла 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) |
Определение в строке 89 файла audio_policy.h .
int(* set_effect_enabled)(struct audio_policy *pol, int id, bool включен) |
Определение в строке 230 файла audio_policy.h .
void(* set_force_use)(struct audio_policy *pol, использование audio_policy_force_use_t, конфигурация audio_policy_forced_cfg_t) |
Определение в строке 109 файла audio_policy.h .
void(* set_phone_state)(struct audio_policy *pol, состояние audio_mode_t) |
Определение в строке 102 файла audio_policy.h .
void(* set_ringer_mode)(struct audio_policy *pol, режим uint32_t, маска uint32_t) |
Определение в строке 105 файла audio_policy.h .
int(* set_stream_volume_index)(struct audio_policy *pol, поток audio_stream_type_t, индекс int) |
Определение в строке 186 файла audio_policy.h .
int(* set_stream_volume_index_for_device)(struct audio_policy *pol, поток audio_stream_type_t, индекс int, устройство audio_devices_t) |
Определение в строке 198 файла audio_policy.h .
int(* start_input)(struct audio_policy *pol, audio_io_handle_t input) |
Определение в строке 165 файла audio_policy.h .
int(* start_output)(struct audio_policy *pol, вывод audio_io_handle_t, поток audio_stream_type_t, сеанс audio_session_t) |
Определение в строке 141 файла audio_policy.h .
int(* stop_input)(struct audio_policy *pol, вход audio_io_handle_t) |
Определение в строке 168 файла audio_policy.h .
int(* stop_output)(struct audio_policy *pol, вывод audio_io_handle_t, поток audio_stream_type_t, сеанс audio_session_t) |
Определение в строке 148 файла audio_policy.h .
int(* unregister_effect)(struct audio_policy *pol, int id) |
Определение в строке 228 файла audio_policy.h .
Документация для этой структуры была сгенерирована из следующего файла:
- оборудование/libhardware/include/оборудование/ audio_policy.h