summaryrefslogtreecommitdiff
path: root/src/class/audio/audio_device.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-11-30 21:49:33 +0100
committerHiFiPhile <[email protected]>2024-11-30 21:49:33 +0100
commitf2ed60e9fc562bc5fd2016aea61695b708c2bd53 (patch)
treeb3f215fb9d3920ee5b3cf3056b5f02efd4d58d78 /src/class/audio/audio_device.h
parent3351c366ab8298c342b2802c28d65a67f4078d56 (diff)
Update audio class with dcache support.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class/audio/audio_device.h')
-rw-r--r--src/class/audio/audio_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class/audio/audio_device.h b/src/class/audio/audio_device.h
index ae253f49d..0a7bff212 100644
--- a/src/class/audio/audio_device.h
+++ b/src/class/audio/audio_device.h
@@ -203,6 +203,9 @@
#define CFG_TUD_AUDIO_ENABLE_INTERRUPT_EP 0 // Feedback - 0 or 1
#endif
+// Audio control interrupt EP - 6 Bytes according to UAC 2 specification (p. 74)
+#define CFG_TUD_AUDIO_INTERRUPT_EP_SZ 6
+
// Use software encoding/decoding
// The software coding feature of the driver is not mandatory. It is useful if, for instance, you have two I2S streams which need to be interleaved