forked from PAWPAW-Mirror/lib_xua
initial value for g_curSampFreqMultiplier now fixed (#15141). Causes issue if no SF rate change from host and the DEFAULT_FREQ is used.
This commit is contained in:
@@ -51,7 +51,7 @@ extern unsigned char mixSel[MIX_INPUTS];
|
|||||||
/* Global var for current frequency, set to default freq */
|
/* Global var for current frequency, set to default freq */
|
||||||
unsigned int g_curSamFreq = DEFAULT_FREQ;
|
unsigned int g_curSamFreq = DEFAULT_FREQ;
|
||||||
unsigned int g_curSamFreq48000Family = DEFAULT_FREQ % 48000 == 0;
|
unsigned int g_curSamFreq48000Family = DEFAULT_FREQ % 48000 == 0;
|
||||||
unsigned int g_curSamFreqMultiplier = DEFAULT_FREQ / 48000;
|
unsigned int g_curSamFreqMultiplier = DEFAULT_FREQ / (DEFAULT_MCLK_FREQ / 512);
|
||||||
|
|
||||||
/* Store an int into a char array: Note this allows non-word aligned access unlike reinerpret cast */
|
/* Store an int into a char array: Note this allows non-word aligned access unlike reinerpret cast */
|
||||||
static void storeInt(unsigned char buffer[], int index, int val)
|
static void storeInt(unsigned char buffer[], int index, int val)
|
||||||
|
|||||||
Reference in New Issue
Block a user