audio_policy_device Struct Reference

#include <audio_policy.h>

Data Fields

struct hw_device_t common
 
int(* create_audio_policy )(const struct audio_policy_device *device, struct audio_policy_service_ops *aps_ops, void *service, struct audio_policy **ap)
 
int(* destroy_audio_policy )(const struct audio_policy_device *device, struct audio_policy *ap)
 

Detailed Description

Definition at line 422 of file audio_policy.h.

Field Documentation

struct hw_device_t common

Common methods of the audio policy device. This must be the first member of audio_policy_device as users of this structure will cast a hw_device_t to audio_policy_device pointer in contexts where it's known the hw_device_t references an audio_policy_device.

Definition at line 429 of file audio_policy.h.

int(* create_audio_policy)(const struct audio_policy_device *device, struct audio_policy_service_ops *aps_ops, void *service, struct audio_policy **ap)

Definition at line 431 of file audio_policy.h.

int(* destroy_audio_policy)(const struct audio_policy_device *device, struct audio_policy *ap)

Definition at line 436 of file audio_policy.h.


The documentation for this struct was generated from the following file: