Jump to main content

##

# 3.3.4.49 USB_HOST_AUDIO_V1_EVENT Enumeration

## C

    typedef enum {
      USB_HOST_AUDIO_V1_EVENT_ATTACH,
      USB_HOST_AUDIO_V1_EVENT_DETACH
    } USB_HOST_AUDIO_V1_EVENT;

## Summary

Audio v1.0 Class Driver Events

This enumeration identifies the possible events that the Audio v1.0 Class Driver attach event handler can generate. The application should register an event handler using the USB_HOST_AUDIO_V1_AttachEventHandlerSet function to receive Audio v1.0 Class Driver Attach events.

## Members

Members | Description
USB_HOST_AUDIO_V1_EVENT_ATTACH | This event occurs when the Host layer has detected the Audio v1.0 Class Driver instance from a USB Audio v1.0 Device. There is no event data associated with this event.
USB_HOST_AUDIO_V1_EVENT_DETACH | This event occurs when host layer has detached the Audio v1.0 Class Driver instance from a USB Audio v1.0 Device. This can happen if the device itself was detached or if the device configuration was changed. There is no event data associated with this event.

## Remarks

None.