Strukturreferenz für „audio_policy_service_ops“

Strukturreferenz für „audio_policy_service_ops“

#include < audio_policy.h >

Datenfelder

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)
 

Detaillierte Beschreibung

Definition in Zeile 252 der Datei audio_policy.h .

Felddokumentation

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

Definition in Zeile 315 der Datei audio_policy.h .

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

Definition in Zeile 286 der Datei audio_policy.h .

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

Definition in Zeile 350 der Datei audio_policy.h .

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

Definition in Zeile 333 der Datei audio_policy.h .

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

Definition in Zeile 380 der Datei audio_policy.h .

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

Definition in Zeile 369 der Datei audio_policy.h .

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

Definition in Zeile 281 der Datei 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)

Definition in Zeile 307 der Datei 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)

Definition in Zeile 402 der Datei 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)

Definition in Zeile 269 der Datei 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)

Definition in Zeile 387 der Datei audio_policy.h .

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

Definition in Zeile 297 der Datei audio_policy.h .

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

Definition in Zeile 338 der Datei audio_policy.h .

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

Definition in Zeile 326 der Datei audio_policy.h .

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

Definition in Zeile 364 der Datei audio_policy.h .

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

Definition in Zeile 357 der Datei audio_policy.h .

int(* stop_tone)(void *service)

Definition in Zeile 361 der Datei audio_policy.h .

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

Definition in Zeile 294 der Datei audio_policy.h .


Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert: