Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion host/class/uac/usb_host_uac/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

All notable changes to this component will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.3] - 2025-11-4

### Changed

- Fixed a playback stuttering issue when bInterval was not equal to 1 in the full-speed device audio endpoint descriptor, and forced bInterval = 1 to make it compatible with these non-standard devices.

## [1.3.2] - 2025-10-21

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(audio_player)
12 changes: 12 additions & 0 deletions host/class/uac/usb_host_uac/examples/audio_player/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
| Supported Targets | ESP32-S2 | ESP32-S3 | ESP32-P4 |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should work also on H4

| ----------------- | -------- | -------- | -------- |

# UVC driver example: Video stream
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outdated description.

It would be nice to provide a simple 'how-to' use this example


## Selecting the USB Component

To manually select which USB Component shall be used to build this example, please refer to the following documentation page: [Manual USB component selection](../../../../../../docs/host/usb_host_lib/usb_component_manual_selection.md).

## Enable MIC playback

To enable MIC playback in menuconfig `(Top) → Example USB Audio Player → Playback audio from microphone`
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
idf_component_register(SRC_DIRS .
INCLUDE_DIRS "."
EMBED_FILES ../spiffs/output_8k.wav ../spiffs/output_16k.wav)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menu "Example USB Audio Player"
config EXAMPLE_MIC_PLAYBACK
bool "Playback audio from microphone"
default n
help
Enabled this to playback audio from microphone

endmenu
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dependencies:
idf: ">=5.0" # The version of the ESP-IDF that esp-audio-player requires
usb_host_uac:
override_path: ../../../../usb_host_uac/
espressif/usb:
version: "*"
override_path: "../../../../../../usb"
rules: # Both if clauses must be fulfilled to override the component
- if: "$ENV_VAR_USB_COMP_MANAGED == yes" # Environmental variable to select between managed (esp-usb) and native (esp-idf) USB Component
- if: "idf_version >=5.4" # Use managed component only for 5.4 and above
Loading
Loading