2.3.4.9 USB_DEVICE_AUDIO_RESULT Enumeration

C

typedef enum {
  USB_DEVICE_AUDIO_RESULT_OK,
  USB_DEVICE_AUDIO_RESULT_ERROR_TRANSFER_QUEUE_FULL,
  USB_DEVICE_AUDIO_RESULT_ERROR_INSTANCE_INVALID,
  USB_DEVICE_AUDIO_RESULT_ERROR_INSTANCE_NOT_CONFIGURED,
  USB_DEVICE_AUDIO_RESULT_ERROR_PARAMETER_INVALID,
  USB_DEVICE_AUDIO_RESULT_ERROR_INVALID_INTERFACE_ID,
  USB_DEVICE_AUDIO_RESULT_ERROR_INVALID_BUFFER,
  USB_DEVICE_AUDIO_RESULT_ERROR_ENDPOINT_HALTED,
  USB_DEVICE_AUDIO_RESULT_ERROR_TERMINATED_BY_HOST,
  USB_DEVICE_AUDIO_RESULT_ERROR
} USB_DEVICE_AUDIO_RESULT;

Summary

USB Device Audio Function Driver USB Device Audio Result enumeration.

This enumeration lists the possible USB Device Audio Function Driver operation results.

Members

Members Description
USB_DEVICE_AUDIO_RESULT_OK The operation was successful
USB_DEVICE_AUDIO_RESULT_ERROR_TRANSFER_QUEUE_FULL The transfer queue is full and no new transfers can be scheduled
USB_DEVICE_AUDIO_RESULT_ERROR_INSTANCE_INVALID The specified instance is not provisioned in the system
USB_DEVICE_AUDIO_RESULT_ERROR_INSTANCE_NOT_CONFIGURED The specified instance is not configured yet
USB_DEVICE_AUDIO_RESULT_ERROR_PARAMETER_INVALID The event handler provided is NULL
USB_DEVICE_AUDIO_RESULT_ERROR_INVALID_INTERFACE_ID Interface number passed to the read or write function is invalid
USB_DEVICE_AUDIO_RESULT_ERROR_INVALID_BUFFER A NULL buffer was specified in the read or write function
USB_DEVICE_AUDIO_RESULT_ERROR_ENDPOINT_HALTED Transfer terminated because host halted the endpoint
USB_DEVICE_AUDIO_RESULT_ERROR_TERMINATED_BY_HOST Transfer terminated by host because of a stall clear
USB_DEVICE_AUDIO_RESULT_ERROR General Error

Remarks

None.