diff options
| author | Ha Thach <[email protected]> | 2025-09-29 09:36:57 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-29 09:36:57 +0700 |
| commit | 5130850337c1e8e0eedfa2d7165413de27ff6d2f (patch) | |
| tree | c4388cdcfe28d0747cacb3477ba03cb2d012305d /examples/device/audio_test/src | |
| parent | 152d25ed621393a991561b7de61c2f01bbadeb71 (diff) | |
| parent | 8952838a265ef3f5956d41670b26850ee9641ec8 (diff) | |
Merge pull request #3266 from hathach/uac_simplify
audio: simplify alt settings management
Diffstat (limited to 'examples/device/audio_test/src')
| -rw-r--r-- | examples/device/audio_test/src/tusb_config.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/device/audio_test/src/tusb_config.h b/examples/device/audio_test/src/tusb_config.h index b38958d7c..10bf53809 100644 --- a/examples/device/audio_test/src/tusb_config.h +++ b/examples/device/audio_test/src/tusb_config.h @@ -109,7 +109,6 @@ extern "C" { #define CFG_TUD_AUDIO_FUNC_1_SAMPLE_RATE 48000 #define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_MIC_ONE_CH_DESC_LEN -#define CFG_TUD_AUDIO_FUNC_1_N_AS_INT 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_CTRL_BUF_SZ 64 // Size of control request buffer #define CFG_TUD_AUDIO_ENABLE_EP_IN 1 |
