History: usbh_cd_audio


This page describes all changes made to the usbh_cd_audio package, the USBH Audio class driver, since its release.


Version

3.11:

  • usbh_audio_present() could incorrectly report the presence of the device right after disconnecting it.

3.10:

  • Updated to work with the latest HID class driver.

3.9:

  • Access to functions needing connected state from connect callback notification was not allowed ( e.g. usbh_audio_get_port_hdl() ).

3.8:

  • Updated to work with USB host base major version 3.

3.7:

  • Updated to work with HID class driver v2.12 and above.

3.6:

  • Streaming lockup could occur on slower systems, therefore streaming transfers were reorganized.
  • Compilation failed if USBH_AUDIO_HID_ENABLE was not set.
  • Terminal search optimized.
  • Warnings removed.

3.5:

  • Use of new HID generic v4.0.

3.4:

  • Warnings removed.

3.3:

  • HID generic MAJOR number check changed to 3.

3.2:

  • psp_endianness.h used instead of psp_endiness.h.
  • usbh_utils version number check removed.

3.1:

  • If USBH_AUDIO_HID_ENABLE was set to zero then some compilation errors occurred due to unknown function calls.

3.0:

  • API redesigned, most of the functions will use terminal information structure to identify the stream (audio device, stream/alt.stream to use and entity path).
  • Entity handling completely redesigned, any type of link supported.
  • Entity configurations removed, instead USBH_AUDIO_DSC_BUF_SIZE needs to be defined that holds all information about entities, links, audio stream control and format information.

2.2:

  • Needless version checks removed from API header file.
  • Return codes changed from enum to #define.
  • Notification codes changed from enum to #define.
  • usbh_audio_init() could return success even if task creation failed.
  • usbh_audio_delete() returned AUDIO error codes instead of USBH error codes.
  • Memory corruption could happen if more alternate streaming interfaces were available than MAX_STREAM_INTERFACE.
  • All notification callbacks are cast to (void) to avoid warnings this is required because notification functions return an error code.
  • USBH_SHORT_PACKET report accepted if at feedback transfer.

2.1:

  • OAL resource initialization changed. It will free resources from init in case of failure.