Page 1 of 1

48kHz on USB Audo Multichannel Reference Design. How to?

Posted: Fri Dec 29, 2017 10:38 am
by rkn
Hello,

I am currently working on a product around the XE216 using the USB Audio Multichannel Reference Design.
https://www.xmos.com/support/boards?product=18334

So far the software is working fine on my target.
Now I want to remove the 44.1kHz sampling frequency options since my target application will only support 48kHz.
Can you give me some hints how to do it? I studied the source code but did not succeed yet. So, any help is welcome. I guess it is a very easy modification...

Thanks,

Raphael

Re: 48kHz on USB Audo Multichannel Reference Design. How to?

Posted: Sun Dec 31, 2017 4:16 pm
by Edward Wood
Hi,
you can define the sampling frequency in customdefines.h,like this:

/* Maximum frequency device runs at */
#ifndef MAX_FREQ
#define MAX_FREQ (48000)
#endif

#ifndef MIN_FREQ
#define MIN_FREQ (48000)
#endif

Maby it's OK.

Re: 48kHz on USB Audo Multichannel Reference Design. How to?

Posted: Fri Jan 12, 2018 6:25 pm
by rkn
Thank you. I solved my issue by playing around with those defines.

Raphael