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

MythTV noreply at mythtv.org
Thu Dec 16 12:11:42 UTC 2010


      Author:  Jean-Yves Avenard <jyavenard at mythtv.org>
 Change Date:  2010-12-16T04:08:28-08:00
   Push Date:  2010/12/16 04:11:35 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  271c60a5d4428475cbcc502ad49ac033c2840f9a
   Changeset:  https://github.com/MythTV/mythtv/commit/271c60a5d

Log:

Change on how we calculate the required ALSA hardware buffer size.

Hopefully 4th time lucky. Instead of calculating what we think the size should be, use the size of the buffer ALSA allocated following our request. If less than requested, use the ratio between what we asked for and what we got, and multiply the current hardware buffer size by this value. Round it up the new nearest 64kB multiple

Modified:

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



More information about the mythtv-commits mailing list