[mythtv-commits] mythtv/fixes/0.24 commit: de60515e4 by Jean-Yves Avenard (jyavenard)

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


      Author:  Jean-Yves Avenard <jyavenard at mythtv.org>
 Change Date:  2010-12-16T04:11:06-08:00
   Push Date:  2010/12/16 04:11:35 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  de60515e4c972fef9a0ee3c53c103a573d9d902d
   Changeset:  https://github.com/MythTV/mythtv/commit/de60515e4

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/audiooutputalsa.cpp
   mythtv/libs/libmyth/audiooutputalsa.h



More information about the mythtv-commits mailing list