forked from PAWPAW-Mirror/lib_xua
Moved samp freq globals to audioreqs
This commit is contained in:
@@ -48,10 +48,10 @@ extern unsigned char channelMapUsb[NUM_USB_CHAN_IN];
|
|||||||
extern unsigned char mixSel[MIX_INPUTS];
|
extern unsigned char mixSel[MIX_INPUTS];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Global var for current frequency */
|
/* Global var for current frequency, set to default freq */
|
||||||
extern unsigned int g_curSamFreq;
|
unsigned int g_curSamFreq = DEFAULT_FREQ;
|
||||||
extern unsigned int g_curSamFreq48000Family;
|
unsigned int g_curSamFreq48000Family = DEFAULT_FREQ % 48000 == 0;
|
||||||
extern unsigned int g_curSamFreqMultiplier;
|
unsigned int g_curSamFreqMultiplier = DEFAULT_FREQ / 48000;
|
||||||
|
|
||||||
/* 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 */
|
||||||
void storeInt(unsigned char buffer[], int index, int val)
|
void storeInt(unsigned char buffer[], int index, int val)
|
||||||
|
|||||||
Reference in New Issue
Block a user