AudioInjector headphone jack left/right reversed?

Moderator: flatmax

Post Reply
LWesthaver
Posts: 8
Joined: Mon Mar 27, 2017 1:07 pm

AudioInjector headphone jack left/right reversed?

Post by LWesthaver » Mon Mar 27, 2017 1:21 pm

I just got a new AudioInjector today and installed it. Installation went pretty easy. Sounds good.

But, when I ran some audio test files to check for left/right channel operation and phasing it appears that the 3.5mm audio jack has the left and right channels reversed. To verify, I ran the same files on several of my computers and checked with multiple headphone sets. All systems checked ok except for the AudioInjector.

Can the left/right channels be swapped in software to compensate?

-Wes

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: AudioInjector headphone jack left/right reversed?

Post by flatmax » Tue Mar 28, 2017 9:28 pm

Hey there,

I believe that the AudioInjector Stereo card has the right headphone wired to the tip and the left routed to the sleeve of the headphone jack.

In order to reroute left to right and vice versa, you can use the ALSA route plugin to automatically switch channels.
First step, backup your .asoundrc :

Code: Select all

cd $HOME
cp .asoundrc .asoundrc.bak
Save the following file to .asoundrc and anything which uses the sound device will automatically have their channels switched :

Code: Select all

pcm.!default {
        type plug
        slave.pcm "switchChannels"
}

ctl.!default {
        type hw
        card 0
}

pcm.switchChannels {
    type route
    slave.pcm "hw:0"
    ttable.0.1 1
    ttable.1.0 1
}
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

LWesthaver
Posts: 8
Joined: Mon Mar 27, 2017 1:07 pm

Re: AudioInjector headphone jack left/right reversed?

Post by LWesthaver » Thu Mar 30, 2017 6:22 am

ok, got it.

How about the other question I posted about only being able to run one instance of OMXPlayer with the AudioInjector card? That post never got approved?

-Wes

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: AudioInjector headphone jack left/right reversed?

Post by flatmax » Thu Mar 30, 2017 8:51 am

Apologies, can you please post again. This site collects a lot of spam posts, which no one ever sees, it is likely it got misplaced in there !

thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

PiEater3
Posts: 1
Joined: Wed Jan 10, 2018 8:19 pm

Re: AudioInjector headphone jack left/right reversed?

Post by PiEater3 » Mon Jan 29, 2018 12:20 am

I've added the code that was suggested to hack the left right error on the card, but even after doing this the audio is still swapped after a reboot.
I know it seems trivial, however with wanting a live 24/7 binaural audio stream (that's fine), and a live stream to YouTube (not so) would make any watchers confused as they are not hearing what they would see, swapping ear buds isn't always possible.

Is there a planned re-hash of the boards? probably no one else would be bothered, but I can't really use stereo adapters the manually swap, it's defeating the game.

I do like the audio card, it seems to be less noisy than those now no longer made Cirrus Logic 'pain in ass' audio cards, just a few crinkles to iron out and you've an audio card that is totally usable in many applications. If I would have know about these cards before I did, I would have backed this project.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests