diff options
| author | Zixun LI <[email protected]> | 2026-09-04 10:49:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-09-04 10:49:44 +0200 |
| commit | 29851564af08cb4909175315d20c71f5eca13040 (patch) | |
| tree | 32d417cc4f80d87b54cf16d31636b2f758525ab7 /src/host | |
| parent | f89e21aa66ce142d7b959cd9fc2a45d47834f121 (diff) | |
| parent | ef404be0337b1486b0a45acd248639ac8dea6c15 (diff) | |
Merge pull request #3774 from zjzhang-cn/feature/tuh-audio-uac-1.0
feat(audio): add USB Audio Host (UAC 1.0/2.0) support
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 94d075813..fd0c9b7b5 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -258,6 +258,18 @@ static usbh_class_driver_t const usbh_class_drivers[] = { }, #endif + #if CFG_TUH_AUDIO + { + .name = DRIVER_NAME("AUDIO"), + .init = audioh_init, + .deinit = audioh_deinit, + .open = audioh_open, + .set_config = audioh_set_config, + .xfer_cb = audioh_xfer_cb, + .close = audioh_close + }, + #endif + #if CFG_TUH_HID { .name = DRIVER_NAME("HID"), |
