[alsa-devel] Bug in setting channels, related to recent ELD/EDID changes?
user.vdr at gmail.com
Mon Jan 10 20:13:34 CET 2011
On Tue, Jan 4, 2011 at 10:46 AM, James Courtier-Dutton
<james.dutton at gmail.com> wrote:
>>> A/V receivers showing TV information is indeed something that wasn't
>>> thought about :(
>> This has certainly caused problems. Anyone thought of a way to
>> resolve it, or better yet reversed the patch that created the
> I think this is related to general hot-plug support in ALSA.
> If you plug in a USB speakers, ALSA should detect new speakers and
> have a way of informing applications about it.
> When you unplug USB speakers, ALSA should detect the lack of speakers
> and have a way of informing application about it.
> In the same way the if you power on a HDMI amp, instead of just two
> speakers (in the TV), we now have 5.1 speakers.
> ALSA should have a way to inform applications of the changes.
> I do not think ALSA alone can handle these hot plug/unplug events. It
> has to be applications that are made to understand these events and
> adjust accordingly.
> Before now, ALSA has had to be told manually how many speakers a user
> has attached, E.g. Stereo, 5.1 etc.
> With modern sound devices, this information is available automatically
> from the hardware and changes without notice.
> So, I propose that an API should be added to achieve this.
> So, instead of the application setting the speaker arrangement, the
> speaker arrangement is set in ALSA, and the application requests
> information about it.
> When the application writes sound samples to the sound card and the
> speaker arrangement has changed, ALSA should use a specific error
> number reported back so the application knows that it should re-check
> the speaker-arrangement API and re-open the sound card with the new
Will someone please elaborate on when/how/if this will ever be
addressed? It's a significant problem.
If none of the devs intend to fix this problem, PLEASE provide a patch
that restores alsa's old behavior before the bug was introduced.
More information about the Alsa-devel