[mythtv-commits] mythtv commit: r26258 - in trunk/mythtv/libs by jyavenard

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Sep 12 17:59:22 UTC 2010


      Author: jyavenard
        Date: 2010-09-12 17:59:22 +0000 (Sun, 12 Sep 2010)
New Revision: 26258
   Changeset: http://svn.mythtv.org/trac/changeset/26258

Log:

Change the way audio output object is created. Now, we do not destroy the audio output class object, instead we disable it. This allow to retrieve information about the audio capabilities such as the number of channels, if passthrough is available etc.
The audio framework will now immediately return if it was fed rubbish and will not attempt to perform any initialisation.
The greatly reduced the amount of open/close of the audio card.

Fixes #8792. Issue occured as an invalid codec detection lead to the audio framework not being initialised ; in turn it became impossible for AVFD to detect the capabilities of the hardware

Modified:

   trunk/mythtv/libs/libmyth/audiooutputbase.cpp
   trunk/mythtv/libs/libmythtv/audioplayer.cpp
   trunk/mythtv/libs/libmythtv/audioplayer.h
   trunk/mythtv/libs/libmythtv/mythplayer.cpp




More information about the mythtv-commits mailing list