مرجع هيكل audio_policy
#include < audio_policy.h >
حقول البيانات | |
int (* | set_device_connection_state ) ( هيكل 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 ) ( إنشاء هيكل audio_policy * pol ، audio_devices_t device ، const char * device_address) |
فارغ(* | set_phone_state ) (Struct audio_policy * pol، audio_mode_t state) |
فارغ(* | set_ringer_mode ) ( هيكل audio_policy * pol ، وضع uint32_t ، قناع uint32_t) |
فارغ(* | set_force_use ) ( هيكل audio_policy * pol ، audio_policy_force_use_t use ، audio_policy_forced_cfg_t config) |
audio_policy_forced_cfg_t (* | get_force_use ) ( إنشاء هيكل audio_policy * pol ، استخدام audio_policy_force_use_t) |
فارغ(* | set_can_mute_enforced_audible ) ( هيكل الصوت_السياسة * pol ، bool can_mute) |
int (* | init_check ) ( إنشاء هيكل 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 ) ( هيكل_سياسة_الصوت * بول ، إخراج_المهارة_الصوتية ، إخراج_الصوت_النمط_التدفق ، جلسة_الجلسة_الصوتية) |
int (* | stop_output ) ( هيكل_سياسة_الصوت * بول ، إخراج_المهارة_الصوتية ، إخراج_تدفق_الصوت_نوع_التدفق ، جلسة_الصوت_جلسة_الصورة) |
فارغ(* | release_output ) ( بناء_سياسة_الصوت * pol ، إخراج_المقبض_السمعي_المسموع) |
audio_io_handle_t (* | get_input ) ( هيكل 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 ) ( هيكل audio_policy * pol ، إدخال audio_io_handle_t) |
int (* | stop_input ) ( هيكل_سياسة_الصوت * pol ، إدخال_المقبض_السمعي_المسموع) |
فارغ(* | release_input ) ( هيكل_سياسة_الصوت * pol ، إدخال_المقبض_السمعي_السمعي) |
فارغ(* | init_stream_volume ) ( هيكل_سياسة_الصوت * pol، audio_stream_type_t stream، int index_min، int index_max) |
int (* | set_stream_volume_index ) (سياسة البنية الصوتية * pol، audio_stream_type_t stream، int index) |
int (* | get_stream_volume_index ) (const هيكل audio_policy * pol ، audio_stream_type_t stream ، int * index) |
int (* | set_stream_volume_index_for_device ) ( هيكل الصوت_السياسة * pol، audio_stream_type_t stream، int index، audio_devices_t device) |
int (* | get_stream_volume_index_for_device ) ( إنشاء هيكل الصوت_السياسة * pol، audio_stream_type_t stream، int * index، audio_devices_t device) |
uint32_t (* | get_strategy_for_stream ) ( بناء هيكل_سياسة_الصوت * بول ، دفق صوت_نمط_نمط) |
audio_devices_t (* | get_devices_for_stream ) (بنية هيكلية_سياسة_الصوت * pol، audio_stream_type_t stream) |
audio_io_handle_t (* | get_output_for_effect ) ( هيكل_سياسة_الصوت * pol، بنية هيكلية_تأثير_وصفة__ s * وصف) |
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 ) ( هيكل_سياسة_الصوت * pol ، معرف int) |
int (* | set_effect_enabled ) (Struct audio_policy * pol ، معرف int ، تمكين منطقي) |
منطقي (* | is_stream_active ) (const هيكل audio_policy * pol ، audio_stream_type_t stream ، uint32_t in_past_ms) |
منطقي (* | is_stream_active_remotely ) (بنية هيكلية_سياسة_الصوت * pol، audio_stream_type_t stream، uint32_t in_past_ms) |
منطقي (* | is_source_active ) ( إنشاء بنية_سياسة_الصوت * pol ، مصدر_صوت_المصدر) |
int (* | تفريغ ) (const بناء audio_policy * pol ، int fd) |
منطقي (* | is_offload_supported ) (بنية هيكلية_سياسة_الصوت * 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) (إنشاء هيكل صوتي * سياسة * pol، audio_devices_t device، const char * device_address) |
التعريف في السطر 95 للملف audio_policy.h .
audio_devices_t (* get_devices_for_stream) ( إنشاء هيكل audio_policy * pol ، audio_stream_type_t stream) |
التعريف في السطر 214 للملف audio_policy.h .
audio_policy_forced_cfg_t (* get_force_use) (بنية هيكلية audio_policy * pol ، audio_policy_force_use_t Usage) |
التعريف في السطر 114 للملف audio_policy.h .
audio_io_handle_t (* get_input) ( هيكل audio_policy * pol ، audio_source_t inputSource ، uint32_t samplingRate ، audio_format_t format ، audio_channel_mask_t channelMask ، audio_in_acoustics_t acoustics) |
التعريف في السطر 158 للملف audio_policy.h .
audio_io_handle_t (* get_output) ( هيكل 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) |
التعريف في السطر 131 للملف audio_policy.h .
audio_io_handle_t (* get_output_for_effect) ( هيكلية_سياسة_الصوت * pol، const construct structure_descriptor_s * desc) |
التعريف في السطر 218 للملف audio_policy.h .
uint32_t (* get_strategy_for_stream) (بنية هيكلية_سياسة_الصوت * بول ، دفق صوت_نمط_نوع_) |
التعريف في السطر 210 للملف audio_policy.h .
int (* get_stream_volume_index) (بنية هيكلية_سياسة_الصوت * pol، audio_stream_type_t stream، int * index) |
تعريف في السطر 191 للملف audio_policy.h .
int (* get_stream_volume_index_for_device) (بنية هيكلية_سياسة_الصوت * pol، audio_stream_type_t stream، int * index، audio_devices_t device) |
تعريف في السطر 204 من ملف audio_policy.h .
int (* init_check ) (بناء هيكل صوتي * سياسة * بول) |
التعريف في السطر 123 للملف audio_policy.h .
void (* init_stream_volume) ( هيكل_سياسة_الصوت * pol، audio_stream_type_t stream، int index_min، int index_max) |
التعريف في السطر 179 للملف audio_policy.h .
bool (* is_offload_supported) (بنية هيكلية صوتية_سياسة * بول ، تثبيت صوتي_offload_info_t * معلومات) |
تعريف في السطر 247 للملف audio_policy.h .
منطقي (* is_source_active) (بنية هيكلية_سياسة_الصورة * بول ، مصدر_صوت_مصدر_) |
التعريف في السطر 240 للملف audio_policy.h .
منطقي (* is_stream_active) (بنية هيكلية_سياسة_الصوت * pol، audio_stream_type_t stream، uint32_t in_past_ms) |
التعريف في السطر 232 للملف audio_policy.h .
bool (* is_stream_active_remotely) (بنية هيكلية_سياسة_الصوت * pol ، دفق audio_stream_type_t ، uint32_t in_past_ms) |
التعريف في السطر 236 للملف audio_policy.h .
int (* register_effect) ( بنية_سياسة_الصوت * pol ، بنية_تأثير_تأثير_وصفة_ s * وصف ، إخراج audio_io_handle_t ، إستراتيجية uint32_t ، جلسة_صوت_جلسة_ ، int id) |
التعريف في السطر 221 للملف audio_policy.h .
void (* release_input) ( هيكل_سياسة_الصوت * pol ، إدخال audio_io_handle_t) |
التعريف في السطر 171 للملف audio_policy.h .
باطل (* release_output) ( بناء_سياسة_الصوت * pol ، إخراج audio_io_handle_t) |
التعريف في السطر 154 للملف audio_policy.h .
باطل (* set_can_mute_enforced_audible) ( هيكل audio_policy * pol ، bool can_mute) |
التعريف في السطر 119 للملف audio_policy.h .
int (* set_device_connection_state) ( هيكل 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) ( هيكل audio_policy * pol ، معرف int ، تمكين منطقي) |
التعريف في السطر 230 للملف audio_policy.h .
باطل (* set_force_use) ( هيكلية_سياسة_الصوت * pol، audio_policy_force_use_t use، audio_policy_forced_cfg_t config) |
التعريف في السطر 109 للملف audio_policy.h .
باطل (* set_phone_state) ( هيكل audio_policy * pol ، حالة audio_mode_t) |
التعريف في السطر 102 للملف audio_policy.h .
باطل (* set_ringer_mode) ( هيكل audio_policy * pol ، وضع uint32_t ، قناع uint32_t) |
التعريف في السطر 105 للملف audio_policy.h .
int (* set_stream_volume_index) (Struct audio_policy * pol ، audio_stream_type_t stream ، int index) |
التعريف في السطر 186 للملف audio_policy.h .
int (* set_stream_volume_index_for_device) ( هيكل audio_policy * pol ، audio_stream_type_t stream ، int index ، audio_devices_t device) |
التعريف في السطر 198 للملف audio_policy.h .
int (* start_input) ( هيكل audio_policy * pol ، إدخال audio_io_handle_t) |
التعريف في السطر 165 للملف audio_policy.h .
int (* start_output) ( هيكل audio_policy * pol ، إخراج audio_io_handle_t ، audio_stream_type_t stream ، audio_session_t session) |
التعريف في السطر 141 للملف audio_policy.h .
int (* stop_input) ( هيكل audio_policy * pol ، إدخال audio_io_handle_t) |
التعريف في السطر 168 للملف audio_policy.h .
int (* stop_output) ( هيكل audio_policy * pol ، إخراج audio_io_handle_t ، بث صوتي_نمط_دفق ، جلسة audio_session_t) |
التعريف في السطر 148 للملف audio_policy.h .
int (* unregister_effect) (Struct audio_policy * pol ، int id) |
التعريف في السطر 228 للملف audio_policy.h .
تم إنشاء وثائق هذه البنية من الملف التالي:
- Hardware / libhardware / include / Hardware / audio_policy.h