Skip to content
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

Implement the Channel Mapping API of ALSA #2063

Closed
jcucurull opened this issue Jun 26, 2024 · 0 comments
Closed

Implement the Channel Mapping API of ALSA #2063

jcucurull opened this issue Jun 26, 2024 · 0 comments

Comments

@jcucurull
Copy link

jcucurull commented Jun 26, 2024

Feature request

Implement the Channel Mapping API of ALSA (https://www.kernel.org/doc/html/v4.16/sound/designs/channel-mapping-api.html), via libasound (see e.g. https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#ga60ee7d2c2555e21dbc844a1b73839085), to support the customization of the audio channel mappings in systems that support more than two channels, e.g. 5.1 or 7.1 audio systems.

Currently, the mapping used in MPD is the default of ALSA (see /usr/share/alsa/pcm/surround71.conf) and it is hardcoded:

TwoPointers<V> &ToAlsa51() noexcept {
However, not all the sound systems follow this mapping (e.g. in my case, using the HDMI in RP3 connected to an AVR the mapping is not correct, see discussion here #2060).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant