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_RESULT Enumeration
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_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_RESULT_FAILURE,
  USB_HOST_AUDIO_V1_RESULT_BUSY,
  USB_HOST_AUDIO_V1_RESULT_REQUEST_STALLED,
  USB_HOST_AUDIO_V1_RESULT_INVALID_PARAMETER,
  USB_HOST_AUDIO_V1_RESULT_DEVICE_UNKNOWN,
  USB_HOST_AUDIO_V1_RESULT_HANDLE_INVALID,
  USB_HOST_AUDIO_V1_RESULT_TRANSFER_ABORTED,
  USB_HOST_AUDIO_V1_RESULT_OBJ_INVALID,
  USB_HOST_AUDIO_V1_RESULT_END_OF_CONTROL_ENTITY,
  USB_HOST_AUDIO_V1_RESULT_END_OF_STREAMING_INTERFACE,
  USB_HOST_AUDIO_V1_RESULT_END_OF_INTERFACE_SETTINGS,
  USB_HOST_AUDIO_V1_RESULT_SUCCESS
} USB_HOST_AUDIO_V1_RESULT;
Members
Members 
Description 
USB_HOST_AUDIO_V1_RESULT_FAILURE 
An unknown failure has occurred 
USB_HOST_AUDIO_V1_RESULT_BUSY 
The transfer or request could not be scheduled because internal queues are full. The request or transfer should be retried 
USB_HOST_AUDIO_V1_RESULT_REQUEST_STALLED 
The request was stalled 
USB_HOST_AUDIO_V1_RESULT_INVALID_PARAMETER 
A required parameter was invalid 
USB_HOST_AUDIO_V1_RESULT_DEVICE_UNKNOWN 
The associated device does not exist in the system. 
USB_HOST_AUDIO_V1_RESULT_HANDLE_INVALID 
The specified handle is not valid 
USB_HOST_AUDIO_V1_RESULT_TRANSFER_ABORTED 
The transfer or requested was aborted 
USB_HOST_AUDIO_V1_RESULT_OBJ_INVALID 
The specified Audio v1.0 object is invalid 
USB_HOST_AUDIO_V1_RESULT_END_OF_CONTROL_ENTITY 
No more audio control entity 
USB_HOST_AUDIO_V1_RESULT_END_OF_STREAMING_INTERFACE 
No more streaming interface settings present in the audio device 
USB_HOST_AUDIO_V1_RESULT_END_OF_INTERFACE_SETTINGS 
No more interface alternate settings are present in the audio streaming interface 
USB_HOST_AUDIO_V1_RESULT_SUCCESS 
Indicates that the operation succeeded or the request was accepted and will be processed. 
Remarks

None.