Skip to content

Channel order playing 5.1 audio files #2060

Answered by jcucurull
jcucurull asked this question in Q&A
Discussion options

You must be logged in to vote

I have managed to solve the issue applying a remaping at the level of ALSA. To be more specific, I have created a custom device that is a plugin that remaps the channels including this in "/etc/asound.conf":

pcm.!hdmi-remap {
  type plug
  slave.pcm "_audioout"
  ttable {
	   0.0= 1
	   1.1= 1
	   2.4= 1
	   3.5= 1
	   4.3= 1
	   5.2= 1
	   6.6= 1
	   7.7= 1
  }
}

This works better than the approach of the route plugin of MPD because it does not force the stereo audio to be played as multichannel (stereo is still played in two channels).

However, as Max mentioned the way to go is to implement in MPD the libasound chmap API. Thus by now I will use this workaround, but I will also add a fe…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
5 replies
@jcucurull
Comment options

@jcucurull
Comment options

@jcucurull
Comment options

@MaxKellermann
Comment options

@MaxKellermann
Comment options

Comment options

You must be logged in to vote
6 replies
@MaxKellermann
Comment options

@MaxKellermann
Comment options

@jcucurull
Comment options

@jcucurull
Comment options

Answer selected by jcucurull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants