Referensi Struct audio_policy

Referensi Struct audio_policy

#include < audio_policy.h >

Kolom Data

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)
 
void(*  set_phone_state )(struct audio_policy *pol, audio_mode_t state)
 
void(*  set_ringer_mode )(struct audio_policy *pol, uint32_t mode, uint32_t mask)
 
void(*  set_force_use )(struct audio_policy *pol, audio_policy_force_use_t usage, audio_policy_forced_cfg_t config)
 
audio_policy_forced_cfg_t(*  get_force_use )(const struct audio_policy *pol, audio_policy_force_use_t usage)
 
void(*  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 samplingRate, 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 output, audio_stream_type_t stream, audio_session_t session)
 
int(*  stop_output )(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session)
 
void(*  release_output )(struct audio_policy *pol, audio_io_handle_t output)
 
audio_io_handle_t(*  get_input )(struct audio_policy *pol, audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_in_acoustics_t acoustics)
 
int(*  start_input )(struct audio_policy *pol, audio_io_handle_t input)
 
int(*  stop_input )(struct audio_policy *pol, audio_io_handle_t input)
 
void(*  release_input )(struct audio_policy *pol, audio_io_handle_t input)
 
void(*  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 device)
 
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 output, uint32_t strategy, audio_session_t session, int id)
 
int(*  unregister_effect )(struct audio_policy *pol, int id)
 
int(*  set_effect_enabled )(struct audio_policy *pol, int id, bool enabled)
 
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 source)
 
int(*  dump )(const struct audio_policy *pol, int fd)
 
bool(*  is_offload_supported )(const struct audio_policy *pol, const audio_offload_info_t *info)
 

Deskripsi Mendetail

Definisi di baris 83 file audio_policy.h .

Dokumentasi Bidang

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

Definisi di baris 244 dari file 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)

Definisi di baris 95 dari file audio_policy.h .

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

Definisi di baris 214 dari file audio_policy.h .

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

Definisi di baris 114 dari file audio_policy.h .

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

Definisi di baris 158 dari file audio_policy.h .

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

Definisi pada baris 131 dari 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 dari file audio_policy.h .

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

Definisi di baris 210 dari 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 dari file 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)

Definisi di baris 204 dari file audio_policy.h .

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

Definisi di baris 123 dari file audio_policy.h .

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

Definisi pada baris 179 dari file audio_policy.h .

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

Definisi di baris 247 dari file audio_policy.h .

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

Definisi di baris 240 dari file audio_policy.h .

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

Definisi di baris 232 dari file audio_policy.h .

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

Definisi di baris 236 dari file audio_policy.h .

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

Definisi di baris 221 dari file audio_policy.h .

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

Definisi pada baris 171 dari file audio_policy.h .

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

Definisi di baris 154 dari file audio_policy.h .

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

Definisi di baris 119 dari file 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)

Definisi di baris 89 dari file audio_policy.h .

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

Definisi di baris 230 dari file audio_policy.h .

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

Definisi di baris 109 dari file audio_policy.h .

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

Definisi di baris 102 dari file audio_policy.h .

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

Definisi di baris 105 dari file audio_policy.h .

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

Definisi di baris 186 dari file 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)

Definisi pada baris 198 dari file audio_policy.h .

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

Definisi di baris 165 dari file audio_policy.h .

int(* start_output)(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session)

Definisi di baris 141 dari file audio_policy.h .

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

Definisi pada baris 168 dari file audio_policy.h .

int(* stop_output)(struct audio_policy *pol, audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session)

Definisi di baris 148 dari file audio_policy.h .

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

Definisi di baris 228 dari file audio_policy.h .


Dokumentasi untuk struct ini dibuat dari file berikut: