please choosego to mobile | Continue to access the PC version
View: 6164|Reply: 8

Stereo channels are swapped

[Copy link]

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
Published in 2016-9-23 23:49:55 | Show all floors |Read mode
Edited by giaur500 at 2016-9-24 06:51

Hello,

I just noticed stereo channels are swapped, left channel played as right and right is played as left one. Is there any software solution to swap them back?

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2016-9-24 03:11:54 | Show all floors
I checked schematic and you are right Good catch! Funny though that they also switched GND and TV signal, at least according to the cable which can be bought along...

Probably some ALSA config file like this http://superuser.com/a/59488 The easiest solution would be to put this in alsa config file located https://github.com/jernejsk/Open ... rds/audiocodec.conf and rebuild the image.

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
 Author| Published in 2016-9-24 06:26:06 | Show all floors
Will it swap channels for hdmi too? Actually, better if not, because hdmi is ok. Now I just prepared crossed cable...

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2016-9-24 14:34:59 | Show all floors
giaur500 replied at 2016-9-23 23:26
Will it swap channels for hdmi too? Actually, better if not, because hdmi is ok. Now I just prepared ...

No, that configuration file is only for analog out. And HDMI can't be mixed up as it is digitial interface. Nothing would work if that would be the case.

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
 Author| Published in 2016-9-25 00:20:16 | Show all floors
Can you include this patch in next release? Definitely needed

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2016-9-26 03:34:05 | Show all floors
giaur500 replied at 2016-9-24 17:20
Can you include this patch in next release? Definitely needed

First I have to devise a system for applying it only to those boards which needs them. Only Oranges have this problem.

13

threads

197

posts

791

credits

Senior member

Rank: 4

credits
791
 Author| Published in 2016-9-26 20:49:07 | Show all floors
OrangePI PC for sure, I have no idea about others

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2016-9-27 01:29:51 | Show all floors
giaur500 replied at 2016-9-26 13:49
OrangePI PC for sure, I have no idea about others

Probably all current H3 Orange Pi models.

6

threads

26

posts

466

credits

Intermediate member

Rank: 3Rank: 3

credits
466
Published in 2017-8-17 22:08:00 | Show all floors
You can try this .config/asound.conf.
I'm in success.
  1. pcm.!default {
  2.     type route
  3.     ttable.0.1 1
  4.     ttable.1.0 1
  5.     slave.pcm {
  6.             type hw
  7.             card audiocodec
  8.             device 0
  9.     }
  10.     slave.channels 2
  11. }
Copy code


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list