Don't skip CI, my son.
This commit is contained in:
1 parent
291cff213f
commit
3e099fefe1
1 file changed
+1
-1
@@ -273,7 +273,7 @@ bool AudioOutputI2S::ConsumeSample(int16_t sample[2]) {
|
|||||||
#ifdef ARDUINO_ARCH_RP2040
|
#ifdef ARDUINO_ARCH_RP2040
|
||||||
uint16_t AudioOutputI2S::ConsumeSamples(int16_t *samples, uint16_t count) {
|
uint16_t AudioOutputI2S::ConsumeSamples(int16_t *samples, uint16_t count) {
|
||||||
// We special case the normal stereo, no gain case. OTW just use the regular full-fat path
|
// We special case the normal stereo, no gain case. OTW just use the regular full-fat path
|
||||||
if (this->mono || (gainF2P6 != 1<<6)) {
|
if (this->mono || (gainF2P6 != 1 << 6)) {
|
||||||
return AudioOutput::ConsumeSamples(samples, count);
|
return AudioOutput::ConsumeSamples(samples, count);
|
||||||
}
|
}
|
||||||
auto ret = i2s.write((const uint8_t *)samples, count * 4);
|
auto ret = i2s.write((const uint8_t *)samples, count * 4);
|
||||||
|
|||||||
Reference in new issue
Block a user