Tham chiếu cấu trúc audio_policy_device

Tham chiếu cấu trúc audio_policy_device

#include < audio_policy.h >

Trường dữ liệu

struct hw_device_t chung
int (* create_audio_policy ) (thiết bị const struct audio_policy_device *, struct audio_policy_service_ops * aps_ops, void * service, struct audio_policy ** ap)
int (* kill_audio_policy ) (thiết bị const struct audio_policy_device *, struct audio_policy * ap)

miêu tả cụ thể

Định nghĩa ở dòng 422 của tệp audio_policy.h .

Tài liệu thực địa

struct hw_device_t common

Các phương pháp phổ biến của thiết bị chính sách âm thanh. Đây phải là thành viên đầu tiên của audio_policy_device như người sử dụng cấu trúc này sẽ đúc một hw_device_t để audio_policy_device con trỏ trong những bối cảnh mà nó được biết đến các hw_device_t tài liệu tham khảo một audio_policy_device .

Định nghĩa ở dòng 429 của tệp 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)

Định nghĩa ở dòng 431 của tệp audio_policy.h .

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

Định nghĩa ở dòng 436 của tệp audio_policy.h .


Tài liệu cho cấu trúc này được tạo từ tệp sau:
  • phần cứng / libhardware / bao gồm / phần cứng / audio_policy.h