hi all,
I'm not sure if XMOS UAC1.0 can support Fs = 64kHz or 128kHz.
I saw some restriction codes in the ref design, it force the Fs = 48kHz if user define > 48kHz.
I tried to remove the restriction in devicedefines.h to see if it can support 64kHz:
/* Apply sample-rate restrictions to full-speed operation */
#ifndef MAX_FREQ_FS
#if (NUM_USB_CHAN_OUT_FS > 0) && (NUM_USB_CHAN_IN_FS > 0)
// #if(MAX_FREQ > 48000)
// #define MAX_FREQ_FS 48000
// #else
// #define MAX_FREQ_FS MAX_FREQ
// #endif
#define MAX_FREQ_FS MAX_FREQ // define MAX_FREQ = 64kHz in somewhere
#else
#if (MAX_FREQ > 96000)
#define MAX_FREQ_FS 96000
#else
#define MAX_FREQ_FS MAX_FREQ
#endif
#endif
#endif
But Windows 7 only can recognize it as a 64kHz audio device, I got error feedback when I used Foobar2000 to play a sound file, the other Fs is fine (e.g 8khz can work correctly).
Any idea will be appreciated.
Does UAC 1.0 support 64kHz and 128kHz on XMOS device?
-
- Active Member
- Posts: 51
- Joined: Wed Jun 22, 2016 8:08 am
-
- Active Member
- Posts: 51
- Joined: Wed Jun 22, 2016 8:08 am
New updates:
Seems like that only window xp can support Fs = 64kHz and 128kHz.
1. Fs = 64kHz can have smooth sound.
2. Fs = 128khz can't have smooth sound.
I don't know if it is caused by the USB FIFO or I missed something?
Any idea will be appreciated.
Seems like that only window xp can support Fs = 64kHz and 128kHz.
1. Fs = 64kHz can have smooth sound.
2. Fs = 128khz can't have smooth sound.
I don't know if it is caused by the USB FIFO or I missed something?
Any idea will be appreciated.