Basic hook up of audio to buffer (without FIFO) - output audible!

This commit is contained in:
Ed Clarke
2018-10-26 14:16:17 +01:00
parent 1db927601a
commit 2405b2f4f1
5 changed files with 44 additions and 33 deletions

View File

@@ -14,15 +14,16 @@
#define EXCLUDE_USB_AUDIO_MAIN
#define VENDOR_STR "XMOS"
#define VENDOR_ID 0x20B1
#define PRODUCT_STR_A2 "XUA Lite"
#define PRODUCT_STR_A1 "XUA Lite"
#define PID_AUDIO_1 1
#define PID_AUDIO_2 2
#define XUA_DFU_EN 0 /* Disable DFU (for simplicity of example */
#define VENDOR_STR "XMOS"
#define VENDOR_ID 0x20B1
#define PRODUCT_STR_A2 "XUA Lite Class 2"
#define PRODUCT_STR_A1 "XUA Lite Class 1"
#define PID_AUDIO_1 1
#define PID_AUDIO_2 2
#define XUA_DFU_EN 0 /* Disable DFU (for simplicity of example) */
#define UAC_FORCE_FEEDBACK_EP 1
#define XUA_LITE 1
#define XUA_LITE 1 // Use simple/optimised USB buffer tasks
#define AUDIO_CLASS 2
#endif