udpate pids
This commit is contained in:
@@ -182,7 +182,7 @@ set(APP_COMPILER_FLAGS_fps_uac2 ${SW_USB_AUDIO_FLAGS} -DXUA_SPD
|
||||
-DHID_CONTROLS=1
|
||||
-DDNR_50MS=1
|
||||
-ldnr_50ms
|
||||
#-DDEBUG_MEMORY_LOG_ENABLED=1
|
||||
-DDEBUG_MEMORY_LOG_ENABLED=1
|
||||
-DNO_LOG_TIMESTAPS=0
|
||||
-DI2S_CHANS_ADC=2)
|
||||
|
||||
@@ -220,7 +220,7 @@ set(APP_COMPILER_FLAGS_br_uac2 ${SW_USB_A
|
||||
-DEQ_EN=1
|
||||
-DDNR_50MS=1
|
||||
-ldnr_50ms
|
||||
#-DDEBUG_MEMORY_LOG_ENABLED=1
|
||||
-DDEBUG_MEMORY_LOG_ENABLED=1
|
||||
-DNO_LOG_TIMESTAPS=0
|
||||
-DI2S_CHANS_ADC=2)
|
||||
|
||||
|
||||
@@ -117,17 +117,14 @@
|
||||
#define MCLK_48 (1024*48000) /* 48, 96 etc */
|
||||
#endif
|
||||
|
||||
/* Maximum frequency device runs at */
|
||||
#ifndef MAX_FREQ
|
||||
#define MAX_FREQ (768000)
|
||||
#endif
|
||||
|
||||
/* Minumum sample frequency device runs at */
|
||||
#ifndef MIN_FREQ
|
||||
#define MIN_FREQ (44100)
|
||||
#define MIN_FREQ (48000) //(44100)
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_FREQ
|
||||
#define DEFAULT_FREQ (48000)
|
||||
/* Maximum sample frequency device runs at */
|
||||
#ifndef MAX_FREQ
|
||||
#define MAX_FREQ (48000)
|
||||
#endif
|
||||
|
||||
/*** Defines relating to feature placement regarding tiles ***/
|
||||
@@ -142,16 +139,39 @@
|
||||
|
||||
/*** Defines relating to USB descriptor strings and ID's ***/
|
||||
#define VENDOR_ID (0x152A) /* XMOS VID */
|
||||
#ifndef PID_AUDIO_2
|
||||
#if XMOS_FPS_EN==1
|
||||
#define PID_AUDIO_2 (0x889E)
|
||||
#else
|
||||
#define PID_AUDIO_2 (0x889C)
|
||||
|
||||
#if defined(FPS_UAC2)
|
||||
#define PID_AUDIO_2 (0x899E)
|
||||
#endif
|
||||
|
||||
#if defined(BYPASS_UAC2)
|
||||
#define PID_AUDIO_2 (0x899C)
|
||||
#endif
|
||||
|
||||
#if defined(BR_UAC2)
|
||||
#define PID_AUDIO_2 (0x899A)
|
||||
#endif
|
||||
|
||||
#if defined(V71_UAC2)
|
||||
#define PID_AUDIO_2 (0x899F)
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(FPS_UAC1)
|
||||
#define PID_AUDIO_1 (0x889A)
|
||||
#endif
|
||||
|
||||
#if defined(V71_UAC1)
|
||||
#define PID_AUDIO_1 (0x889B)
|
||||
#endif
|
||||
|
||||
#ifndef PID_AUDIO_2
|
||||
#define PID_AUDIO_2 (0x889C)
|
||||
#endif
|
||||
#ifndef PID_AUDIO_1
|
||||
#define PID_AUDIO_1 (0x889D)
|
||||
#endif
|
||||
|
||||
#define PRODUCT_STR_A2 "Fosi Audio C1"
|
||||
#define PRODUCT_STR_A1 "Fosi Audio C1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user