Replies: 1 comment 1 reply
-
I downloaded a test file from the Fraunhofer Institute https://www2.iis.fraunhofer.de/AAC/SBRtestStereo-441-16b.wav and tested it with a PCM5102a. In fact, left and right are reversed. I didn't notice that with the AC101 DAC. I have corrected the defect. Thanks for the hint. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently connected my ESP32 to an Adafruit I2S Stereo Decoder - UDA1334A Breakout.
It seems like the code for the channels is swapped in this library?
ESP sets format as: m_i2s_config.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT;
yet the playChunk(.) code sends in reverse order:
sample[LEFTCHANNEL] = x;
sample[RIGHTCHANNEL] = y;
Sure enough when testing, my left channel is comming from the right speaker.
Beta Was this translation helpful? Give feedback.
All reactions