uac1 settings
This commit is contained in:
@@ -1908,7 +1908,11 @@ void AudioHwInit()
|
|||||||
/* Configures the external audio hardware for the required sample frequency */
|
/* Configures the external audio hardware for the required sample frequency */
|
||||||
void AudioHwConfig(unsigned samFreq, unsigned mClk, unsigned dsdMode, unsigned sampRes_DAC, unsigned sampRes_ADC)
|
void AudioHwConfig(unsigned samFreq, unsigned mClk, unsigned dsdMode, unsigned sampRes_DAC, unsigned sampRes_ADC)
|
||||||
{
|
{
|
||||||
|
#if UAC1_MODE == 1
|
||||||
|
static unsigned count = 1;
|
||||||
|
#else
|
||||||
static unsigned count = 0;
|
static unsigned count = 0;
|
||||||
|
#endif
|
||||||
p_ctl_mute <: 0;
|
p_ctl_mute <: 0;
|
||||||
g_samfreq = samFreq;
|
g_samfreq = samFreq;
|
||||||
delay_milliseconds(2);
|
delay_milliseconds(2);
|
||||||
|
|||||||
Reference in New Issue
Block a user