Jump to content

Recommended Posts

Posted

On my orangepi pc (legacy kernel) I'm trying to using separately the left and right channel as two separate sound cards (to be used by two different programs).

I have a working asoundrc for that, but the problem is that the left channel leaks into the right one and viceversa.

They also do the same on my laptop, but there it's hardly noticeable.

It's not a matter of my asounrc, I confirmed it also with speaker-test.

I suppose it's a hardware issue, right?

BTW the right and left channel are inverted (and that could be a driver issue).

This is the my asoundrc, the !default line is because one of the two programs is linphone and I couldn't find a way to make it use a named, virtual, soundcard.

 

pcm.my_card {
type hw
card 0
}

pcm.my_card_dmix {
   type dmix
   ipc_key 1024
   ipc_key_add_uid 1
   ipc_perm 0666
   slave {
       pcm "my_card"
       channels 2
    }
    bindings {
       0 0
       1 1
    }
}


pcm.mono_zone1 {
  type plug
  slave {
    pcm "my_card_dmix"
    channels 2
  }
  ttable.0.0 1 
}

pcm.!default {
  type plug
  slave {
    pcm "my_card_dmix"
    channels 2
  }
  ttable.0.1 1 
}

 

Posted
1 hour ago, olivluca said:

BTW the right and left channel are inverted (and that could be a driver issue).

This is known HW issue on (some?) OrangePi boards.

 

I can't help you with the rest...

Posted

I made my previous tests using an headphone, now, connected to an amplifier and speakers, the effect is much less pronounced. One channel still bleeds into the other but I think it is usable for my purpose.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines