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_STREAM_RESULT Enumeration
MPLAB Harmony USB Stack
USB_HOST_AUDIO_V1_0_STREAM_RESULT Enumeration

USB Host Audio v1.0 Stream Result enumeration. 

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

C
typedef enum {
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_REQUEST_BUSY = USB_HOST_RESULT_REQUEST_BUSY,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_TRANSFER_ABORTED,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_REQUEST_STALLED,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_HANDLE_INVALID,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_END_OF_DEVICE_LIST,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_INTERFACE_UNKNOWN,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_PARAMETER_INVALID,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_CONFIGURATION_UNKNOWN,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_BUS_NOT_ENABLED,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_BUS_UNKNOWN,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_UNKNOWN,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_FAILURE,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_FALSE = 0,
  USB_HOST_AUDIO_V1_0_STREAM_RESULT_TRUE = 1,
  USB_HOST_AUDIO_V1_0_STREAM_SUCCESS = USB_HOST_RESULT_TRUE
} USB_HOST_AUDIO_V1_0_STREAM_RESULT;
Members
Members 
Description 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_REQUEST_BUSY = USB_HOST_RESULT_REQUEST_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_0_STREAM_RESULT_TRANSFER_ABORTED 
Request was aborted 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_REQUEST_STALLED 
Request was stalled 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_HANDLE_INVALID 
The specified Stream Handle is not valid 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_END_OF_DEVICE_LIST 
The end of the device list was reached. 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_INTERFACE_UNKNOWN 
The specified interface is not available 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_PARAMETER_INVALID 
A NULL parameter was passed to the function 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_CONFIGURATION_UNKNOWN 
The specified configuration does not exist on this device. 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_BUS_NOT_ENABLED 
A bus operation was requested but the bus was not operated 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_BUS_UNKNOWN 
The specified bus does not exist in the system 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_UNKNOWN 
The specified audio stream does not exist in the system 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_FAILURE 
An unknown failure has occurred 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_FALSE = 0 
Indicates a false condition 
USB_HOST_AUDIO_V1_0_STREAM_RESULT_TRUE = 1 
Indicate a true condition 
USB_HOST_AUDIO_V1_0_STREAM_SUCCESS = USB_HOST_RESULT_TRUE 
Indicates that the operation succeeded or the request was accepted and will be processed. 
Remarks

None.