[mythtv-commits] mythtv commit: r24394 - in branches/mythtv-hdaudio by jyavenard

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue May 4 06:58:47 UTC 2010


      Author: jyavenard
        Date: 2010-05-04 06:58:47 +0000 (Tue, 04 May 2010)
New Revision: 24394
   Changeset: http://svn.mythtv.org/trac/changeset/24394

Modified:

   branches/mythtv-hdaudio/
   branches/mythtv-hdaudio/mythtv/libs/libmyth/audiooutputbase.cpp
   branches/mythtv-hdaudio/mythtv/libs/libmyth/audiooutputbase.h

Log:

Use separate locking mutex for read and write buffer. We try to minimise the inter-dependency between read and write operation. Now read operations will not have to wait for write to complete if there's data to read ; write operations won't wait for read ones to complete if there's already enough space in audio buffer.
Temporary solution, lockless one on the way




More information about the mythtv-commits mailing list