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

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

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

Postby rkn » Fri Dec 29, 2017 10:38 am

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

Postby Edward Wood » Sun Dec 31, 2017 4:16 pm

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: 13
Joined: Tue Nov 18, 2014 6:23 pm

Postby rkn » Fri Jan 12, 2018 6:25 pm

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

Raphael

Who is online

Users browsing this forum: No registered users and 12 guests