I'm trying to implement the mixer into the USB Audio 2.0 firmware v6.5 on the DJ Kit by defining MIXER in customdefines.h, however I'm getting the following compilation errors:
Code: Select all
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:609: error: too few arguments to function `XUD_GetBuffer'
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:647: error: too few arguments to function `XUD_GetBuffer'
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:681: error: `USB_BM_REQTYPE_DIRECTION_OUT' undeclared (first use in this function)
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:681: error: (Each undeclared identifier is reported only once
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:681: error: for each function it appears in.)
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:684: error: too few arguments to function `XUD_GetBuffer'
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:743: error: too few arguments to function `XUD_GetBuffer'
/XMOS_DJ_Kit_Demo/module_usb_audio/endpoint0/audiorequests.xc:910: error: `USB_BM_REQTYPE_DIRECTION_IN' undeclared (first use in this function)
A couple of general questions about the mixer:
1. Does the mixer just allow you to adjust the overall volume of all audio channels?
2. Where is the mixer in the audio chain? On the input before going to USB or afterwards on the output?
Thanks,
Liam.