forked from PAWPAW-Mirror/lib_xua
Rename I2S_DOWNSAMPLE_CHANS to I2S_DOWNSAMPLE_CHANS_IN
This commit is contained in:
@@ -64,9 +64,9 @@ static union ds3Data
|
|||||||
{
|
{
|
||||||
long long doubleWordAlignmentEnsured;
|
long long doubleWordAlignmentEnsured;
|
||||||
/* [Number of I2S channels][Number of samples/phases][Taps per phase] */
|
/* [Number of I2S channels][Number of samples/phases][Taps per phase] */
|
||||||
int32_t delayLine[I2S_DOWNSAMPLE_CHANS][I2S_DOWNSAMPLE_FACTOR_IN][24];
|
int32_t delayLine[I2S_DOWNSAMPLE_CHANS_IN][I2S_DOWNSAMPLE_FACTOR_IN][24];
|
||||||
} ds3Data;
|
} ds3Data;
|
||||||
static int64_t ds3Sum[I2S_DOWNSAMPLE_CHANS];
|
static int64_t ds3Sum[I2S_DOWNSAMPLE_CHANS_IN];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (DSD_CHANS_DAC != 0)
|
#if (DSD_CHANS_DAC != 0)
|
||||||
|
|||||||
@@ -149,12 +149,12 @@
|
|||||||
* Default: The number of I2S incoming channels, or half this if mono downsampling is enabled.
|
* Default: The number of I2S incoming channels, or half this if mono downsampling is enabled.
|
||||||
*/
|
*/
|
||||||
#if (I2S_DOWNSAMPLE_MONO_IN == 1)
|
#if (I2S_DOWNSAMPLE_MONO_IN == 1)
|
||||||
#define I2S_DOWNSAMPLE_CHANS (I2S_CHANS_ADC / 2)
|
#define I2S_DOWNSAMPLE_CHANS_IN (I2S_CHANS_ADC / 2)
|
||||||
#if ((I2S_DOWNSAMPLE_FACTOR_IN > 1) && (I2S_MODE_TDM == 1))
|
#if ((I2S_DOWNSAMPLE_FACTOR_IN > 1) && (I2S_MODE_TDM == 1))
|
||||||
#error Mono I2S input downsampling is not avaliable in TDM mode
|
#error Mono I2S input downsampling is not avaliable in TDM mode
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define I2S_DOWNSAMPLE_CHANS I2S_CHANS_ADC
|
#define I2S_DOWNSAMPLE_CHANS_IN I2S_CHANS_ADC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user