Referensi Struct audio_policy_service_ops

Referensi Struct audio_policy_service_ops

#include < audio_policy.h >

Kolom Data

audio_io_handle_t(*  open_output )(void *service, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags)
 
audio_io_handle_t(*  open_duplicate_output )(void *service, audio_io_handle_t output1, audio_io_handle_t output2)
 
int(*  close_output )(void *service, audio_io_handle_t output)
 
int(*  suspend_output )(void *service, audio_io_handle_t output)
 
int(*  restore_output )(void *service, audio_io_handle_t output)
 
audio_io_handle_t(*  open_input )(void *service, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, audio_in_acoustics_t acoustics)
 
int(*  close_input )(void *service, audio_io_handle_t input)
 
int(*  set_stream_volume )(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms)
 
int(*  invalidate_stream )(void *service, audio_stream_type_t stream)
 
void(*  set_parameters )(void *service, audio_io_handle_t io_handle, const char *kv_pairs, int delay_ms)
 
char *(*  get_parameters )(void *service, audio_io_handle_t io_handle, const char *keys)
 
int(*  start_tone )(void *service, audio_policy_tone_t tone, audio_stream_type_t stream)
 
int(*  stop_tone )(void *service)
 
int(*  set_voice_volume )(void *service, float volume, int delay_ms)
 
int(*  move_effects )(void *service, audio_session_t session, audio_io_handle_t src_output, audio_io_handle_t dst_output)
 
audio_module_handle_t(*  load_hw_module )(void *service, const char *name)
 
audio_io_handle_t(*  open_output_on_module )(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo)
 
audio_io_handle_t(*  open_input_on_module )(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask)
 

Deskripsi Mendetail

Definisi di baris 252 file audio_policy.h .

Dokumentasi Bidang

int(* close_input)(void *service, audio_io_handle_t input)

Definisi di baris 315 dari file audio_policy.h .

int(* close_output)(void *service, audio_io_handle_t output)

Definisi di baris 286 dari file audio_policy.h .

char*(* get_parameters)(void *service, audio_io_handle_t io_handle, const char *keys)

Definisi di baris 350 dari file audio_policy.h .

int(* invalidate_stream)(void *service, audio_stream_type_t stream)

Definisi di baris 333 dari file audio_policy.h .

audio_module_handle_t(* load_hw_module)(void *service, const char *name)

Definisi pada baris 380 dari file audio_policy.h .

int(* move_effects)(void *service, audio_session_t session, audio_io_handle_t src_output, audio_io_handle_t dst_output)

Definisi pada baris 369 dari file audio_policy.h .

audio_io_handle_t(* open_duplicate_output)(void *service, audio_io_handle_t output1, audio_io_handle_t output2)

Definisi pada baris 281 dari file audio_policy.h .

audio_io_handle_t(* open_input)(void *service, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, audio_in_acoustics_t acoustics)

Definisi di baris 307 dari file audio_policy.h .

audio_io_handle_t(* open_input_on_module)(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask)

Definisi di baris 402 dari file audio_policy.h .

audio_io_handle_t(* open_output)(void *service, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags)

Definisi pada baris 269 dari file audio_policy.h .

audio_io_handle_t(* open_output_on_module)(void *service, audio_module_handle_t module, audio_devices_t *pDevices, uint32_t *pSamplingRate, audio_format_t *pFormat, audio_channel_mask_t *pChannelMask, uint32_t *pLatencyMs, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo)

Definisi pada baris 387 dari file audio_policy.h .

int(* restore_output)(void *service, audio_io_handle_t output)

Definisi di baris 297 dari file audio_policy.h .

void(* set_parameters)(void *service, audio_io_handle_t io_handle, const char *kv_pairs, int delay_ms)

Definisi pada baris 338 dari file audio_policy.h .

int(* set_stream_volume)(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms)

Definisi di baris 326 dari file audio_policy.h .

int(* set_voice_volume)(void *service, float volume, int delay_ms)

Definisi pada baris 364 dari file audio_policy.h .

int(* start_tone)(void *service, audio_policy_tone_t tone, audio_stream_type_t stream)

Definisi di baris 357 dari file audio_policy.h .

int(* stop_tone)(void *service)

Definisi pada baris 361 dari file audio_policy.h .

int(* suspend_output)(void *service, audio_io_handle_t output)

Definisi di baris 294 dari file audio_policy.h .


Dokumentasi untuk struct ini dibuat dari file berikut: