Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
USB stream status

Defines the various possible status returned by the USB Stream Control functions.

Enumerations

enum  usb_stream_error_defs_t {
  USB_STREAM_ERROR_NONE = 0,
  USB_STREAM_ERROR_OVERFLOW,
  USB_STREAM_ERROR_UNDERFLOW,
  USB_STREAM_ERROR_DEL_SAMPLES,
  USB_STREAM_ERROR_ADD_SAMPLES,
  USB_STREAM_ERROR_NOT_SYNCHRONIZED,
  USB_STREAM_ERROR_RECOVERING_FROM_UNDERFLOW,
  USB_STREAM_ERROR_UNSUPPORTED,
  USB_STREAM_ERROR_BROKEN_STREAM,
  USB_STREAM_ERROR_NO_DATA
}
 

Enumerator
USB_STREAM_ERROR_NONE 
USB_STREAM_ERROR_OVERFLOW 
USB_STREAM_ERROR_UNDERFLOW 
USB_STREAM_ERROR_DEL_SAMPLES 
USB_STREAM_ERROR_ADD_SAMPLES 
USB_STREAM_ERROR_NOT_SYNCHRONIZED 
USB_STREAM_ERROR_RECOVERING_FROM_UNDERFLOW 
USB_STREAM_ERROR_UNSUPPORTED 
USB_STREAM_ERROR_BROKEN_STREAM 

The USB audio stream is broken (empty packets received since a long time)

USB_STREAM_ERROR_NO_DATA 

The USB received an empty packet.