USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Library Interface > d) Data Types and Constants > USB_HOST_AUDIO_V1_0_RESULT Enumeration
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_RESULT Enumeration

USB Host Audio v1.0 Class Driver Result enumeration. 

This enumeration lists the possible USB Host Audio v1.0 Class Driver operation results. These values are returned by Audio v1.0 Class Driver functions.

C
typedef enum {
  USB_HOST_AUDIO_V1_0_RESULT_BUSY = USB_HOST_AUDIO_V1_0_RESULT_TRANSFER_ABORTED,
  USB_HOST_AUDIO_V1_0_RESULT_REQUEST_STALLED,
  USB_HOST_AUDIO_V1_0_RESULT_OBJ_INVALID,
  USB_HOST_AUDIO_V1_0_RESULT_END_OF_STREAM_LIST,
  USB_HOST_AUDIO_V1_0_RESULT_PARAMETER_INVALID,
  USB_HOST_AUDIO_V1_0_RESULT_DEVICE_UNKNOWN,
  USB_HOST_AUDIO_V1_0_RESULT_FAILURE,
  USB_HOST_AUDIO_V1_0_RESULT_FALSE = 0,
  USB_HOST_AUDIO_V1_0_RESULT_TRUE = 1,
  USB_HOST_AUDIO_V1_0_RESULT_SUCCESS = USB_HOST_RESULT_TRUE
} USB_HOST_AUDIO_V1_0_RESULT;
Members
Members 
Description 
USB_HOST_AUDIO_V1_0_RESULT_BUSY = USB_HOST_AUDIO_V1_0_RESULT_TRANSFER_ABORTED 
The transfer or request could not be scheduled because internal

  • queues are full. The request or transfer should be retried

 

USB_HOST_AUDIO_V1_0_RESULT_REQUEST_STALLED 
The request was stalled 
USB_HOST_AUDIO_V1_0_RESULT_OBJ_INVALID 
The specified Audio v1.0 Object is Invalid 
USB_HOST_AUDIO_V1_0_RESULT_END_OF_STREAM_LIST 
No more audio stream present in the Device 
USB_HOST_AUDIO_V1_0_RESULT_PARAMETER_INVALID 
A required parameter was invalid 
USB_HOST_AUDIO_V1_0_RESULT_DEVICE_UNKNOWN 
The specified device does not exist in the system 
USB_HOST_AUDIO_V1_0_RESULT_FAILURE 
An unknown failure has occurred 
USB_HOST_AUDIO_V1_0_RESULT_FALSE = 0 
Indicates a false condition 
USB_HOST_AUDIO_V1_0_RESULT_TRUE = 1 
Indicate a true condition 
USB_HOST_AUDIO_V1_0_RESULT_SUCCESS = USB_HOST_RESULT_TRUE 
Indicates that the operation succeeded or the request was accepted and will be processed. 
Remarks

None.