-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
L and R channels are swapped. #116
Comments
I am confused. My library does not have any concept of left or right. |
Not really. I don't have any hardware which would make any hard coded decision if channel 0 or 1 is left or right. |
I could add a method which would swap the channels:
|
That would be great, thanks! Will wait for it. I also found a confirmation of that issue and somebody proposed how to fix it. The only problem that I don't understand how to do it. Some info from that thread: Seems like one guy forked a framework and fixed it, i don't know why official is still not fixed, are you using official one? |
If you go to Tools -> Board -> Board Manager and select ESP32 |
I added the method set_swap_lr_channels(). |
Yes, how, i need to download code again from github? Give me 5 minures. |
Are you sure that you use the latest library version in Arduino? |
Don't know why but after second time i deleted ESP32 lib(board) and installed again version 2.0.0 it worked! The only problem left is i tried to upload code from Platformio (which i used before) - i got it to work and flashed to ESP but if i disconnect audio cable and re-connect it again - L/R swap back itself to default wrong positions. It's so confusing. |
Hello, after testing for left and right channels i found out that RIGHT channel is playing from LEFT and wise versa. They are swapped. I double checked PCM 5102 datasheet schematics and my PCM board are definitely are correct with L/R channels.
I double checked my phone with my other bluetooth headphones and they receiving correct L and R channels.
So ESP32 sending I2S signal with swapped L/R channels to PCM 5102. Could this be fixed in library?
You can test this with "Stereo test" app from google play.
The text was updated successfully, but these errors were encountered: