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

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Post Reply
rkn
Member
Posts: 14
Joined: Tue Nov 18, 2014 6:23 pm

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

Post 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


Edward Wood
Junior Member
Posts: 6
Joined: Sun Dec 24, 2017 4:10 pm

Post 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.
rkn
Member
Posts: 14
Joined: Tue Nov 18, 2014 6:23 pm

Post by rkn »

Thank you. I solved my issue by playing around with those defines.

Raphael
Post Reply