summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2020-05-22 12:09:34 +0200
committerReinhard Panhuber <[email protected]>2020-05-22 12:09:34 +0200
commit9be2f1bf3dc2c89bc23eed1e95c06de41ebb0946 (patch)
treeafc9eac39714beb9441e60c1b08ea4544c5515bd /src/device/usbd.c
parentde88294e051985afc505869edb23a8a56732df7f (diff)
Add basic UAC2 structure - untested
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index f7918c07e..a19993cad 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -135,6 +135,19 @@ static usbd_class_driver_t const _usbd_driver[] =
},
#endif
+#if CFG_TUD_AUDIO
+{
+ DRIVER_NAME("AUDIO")
+ .init = audiod_init,
+ .reset = audiod_reset,
+ .open = audiod_open,
+ .control_request = audiod_control_request,
+ .control_complete = audiod_control_complete,
+ .xfer_cb = audiod_xfer_cb,
+ .sof = NULL
+},
+#endif
+
#if CFG_TUD_MIDI
{
DRIVER_NAME("MIDI")