audio_policy.h File Reference
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <hardware/hardware.h>
#include <system/audio.h>
#include <system/audio_policy.h>

Go to the source code of this file.

Data Structures

struct  audio_policy
struct  audio_policy_service_ops
struct  audio_policy_module
struct  audio_policy_device


#define AUDIO_POLICY_HARDWARE_MODULE_ID   "audio_policy"
#define AUDIO_POLICY_INTERFACE   "policy"


typedef struct audio_policy_module audio_policy_module_t

Macro Definition Documentation

#define AUDIO_POLICY_HARDWARE_MODULE_ID   "audio_policy"

The id of this module

Definition at line 35 of file audio_policy.h.

#define AUDIO_POLICY_INTERFACE   "policy"

Name of the audio devices to open

Definition at line 40 of file audio_policy.h.

Typedef Documentation

Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.