[mythtv-commits] mythtv/master commit: 30c077391 by Jean-Yves Avenard (jyavenard)

MythTV noreply at mythtv.org
Sun Feb 19 15:02:21 UTC 2012


      Author:  Jean-Yves Avenard <jyavenard at mythtv.org>
 Change Date:  2012-02-19T05:34:30-08:00
   Push Date:  2012/02/19 07:02:05 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  30c0773918e461cb93a1b63aee4fedc0ec91d04e
   Changeset:  https://github.com/MythTV/mythtv/commit/30c077391

Log:

Add hdmi audio device type detection

This commit add ELD (EDID Like Data) detection. It allows myth to detect the various capabilities of the audio device connected via HDMI or DisplayPort.
At present, this information is informative only (except for StereoPCM) and is displayed in the device description in the Audio Settings screen.
It will also show if a device is connected or not on the HDMI or DP port making it much easier to identify which HDMI ALSA device to use (there are often 3 presented, when only one is actually working)

To benefit from this option, you must run alsa drivers >= 1.0.25 or linux kernel 3.2 or later.

StereoPCM advanced user option is now detected automatically if the device ELD is available.
Setting it in the advanded settings will only override this option. As the worse side effect should it be detected improperly is that AC3 re-encoding will occur; I believe the benefits overweigh the downside (if there are any).

This commit includes other minor cosmetic fixes, such as allowing translating the default audio device names in the audio setup screen.

In the future, should ELD be available, the aim is to completely remove the use for audio user settings when using HDMI or DP audio.

Added:

   mythtv/libs/libmyth/audio/eldutils.cpp
   mythtv/libs/libmyth/audio/eldutils.h

Modified:

   mythtv/libs/libmyth/audio/audiooutput.cpp
   mythtv/libs/libmyth/audio/audiooutputalsa.cpp
   mythtv/libs/libmyth/audio/audiooutputalsa.h
   mythtv/libs/libmyth/audio/audiooutputsettings.cpp
   mythtv/libs/libmyth/audio/audiooutputsettings.h
   mythtv/libs/libmyth/libmyth.pro



More information about the mythtv-commits mailing list