Moved I2S_UPSAMPLE_FACTOR_OUT default to devicedefines.h from the

top of audio_io.xc.
This commit is contained in:
louis
2017-01-27 10:29:43 +00:00
parent 195f1a3611
commit 2a28119513
2 changed files with 13 additions and 4 deletions

View File

@@ -57,10 +57,6 @@ static unsigned samplesIn[2][MAX(NUM_USB_CHAN_IN, IN_CHAN_COUNT)];
#undef SPDIF_RX
#endif
#ifndef I2S_UPSAMPLE_FACTOR_OUT
#define I2S_UPSAMPLE_FACTOR_OUT (1)
#endif
static int inDownsamplingCounter = 0;
static int outUpsamplingCounter = 0;
#if (I2S_DOWNSAMPLE_FACTOR_IN > 1) || (I2S_UPSAMPLE_FACTOR_OUT > 1)