Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h
| Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| uint32_t draining; | uint32_t draining; | ||||
| } VC_AUDIO_STOP_T; | } VC_AUDIO_STOP_T; | ||||
| typedef struct | typedef struct | ||||
| { | { | ||||
| uint32_t count; /* in bytes */ | uint32_t count; /* in bytes */ | ||||
| void *callback; | uint32_t callback; | ||||
| void *cookie; | uint32_t cookie; | ||||
| uint16_t silence; | uint16_t silence; | ||||
| uint16_t max_packet; | uint16_t max_packet; | ||||
| } VC_AUDIO_WRITE_T; | } VC_AUDIO_WRITE_T; | ||||
| /* Generic result for a request (VC->HOST) */ | /* Generic result for a request (VC->HOST) */ | ||||
| typedef struct | typedef struct | ||||
| { | { | ||||
| int32_t success; /* Success value */ | int32_t success; /* Success value */ | ||||
| } VC_AUDIO_RESULT_T; | } VC_AUDIO_RESULT_T; | ||||
| /* Generic result for a request (VC->HOST) */ | /* Generic result for a request (VC->HOST) */ | ||||
| typedef struct | typedef struct | ||||
| { | { | ||||
| int32_t count; /* Success value */ | int32_t count; /* Success value */ | ||||
| void *callback; | uint32_t callback; | ||||
| void *cookie; | uint32_t cookie; | ||||
| } VC_AUDIO_COMPLETE_T; | } VC_AUDIO_COMPLETE_T; | ||||
| /* Message header for all messages in HOST->VC direction */ | /* Message header for all messages in HOST->VC direction */ | ||||
| typedef struct | typedef struct | ||||
| { | { | ||||
| int32_t type; /* Message type (VC_AUDIO_MSG_TYPE) */ | int32_t type; /* Message type (VC_AUDIO_MSG_TYPE) */ | ||||
| union | union | ||||
| { | { | ||||
| Show All 13 Lines | |||||