summaryrefslogtreecommitdiff
path: root/examples/device/uac2_speaker_fb/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-09-29 09:36:57 +0700
committerGitHub <[email protected]>2025-09-29 09:36:57 +0700
commit5130850337c1e8e0eedfa2d7165413de27ff6d2f (patch)
treec4388cdcfe28d0747cacb3477ba03cb2d012305d /examples/device/uac2_speaker_fb/src
parent152d25ed621393a991561b7de61c2f01bbadeb71 (diff)
parent8952838a265ef3f5956d41670b26850ee9641ec8 (diff)
Merge pull request #3266 from hathach/uac_simplify
audio: simplify alt settings management
Diffstat (limited to 'examples/device/uac2_speaker_fb/src')
-rw-r--r--examples/device/uac2_speaker_fb/src/tusb_config.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/device/uac2_speaker_fb/src/tusb_config.h b/examples/device/uac2_speaker_fb/src/tusb_config.h
index fd4925c7f..18ab2ff96 100644
--- a/examples/device/uac2_speaker_fb/src/tusb_config.h
+++ b/examples/device/uac2_speaker_fb/src/tusb_config.h
@@ -130,7 +130,7 @@ extern "C" {
#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_SPEAKER_STEREO_FB_DESC_LEN
-// Enable if Full-Speed on OSX, also set feedback EP size to 3
+// Can be enabled with Full-Speed device on OSX, which forces feedback EP size to 3, in this case CFG_QUIRK_OS_GUESSING can be disabled
#define CFG_TUD_AUDIO_ENABLE_FEEDBACK_FORMAT_CORRECTION 0
// Audio format type I specifications
@@ -155,9 +155,6 @@ extern "C" {
// Enable feedback EP
#define CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP 1
-// Number of Standard AS Interface Descriptors (4.9.1) defined per audio function - this is required to be able to remember the current alternate settings of these interfaces - We restrict us here to have a constant number for all audio functions (which means this has to be the maximum number of AS interfaces an audio function has and a second audio function with less AS interfaces just wastes a few bytes)
-#define CFG_TUD_AUDIO_FUNC_1_N_AS_INT 1
-
// Size of control request buffer
#define CFG_TUD_AUDIO_FUNC_1_CTRL_BUF_SZ 64