[mythtv-commits] mythtv commit: r24031 - in branches/libmythui-osd by markk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Apr 9 10:55:11 UTC 2010
Author: markk
Date: 2010-04-09 10:55:10 +0000 (Fri, 09 Apr 2010)
New Revision: 24031
Changeset: http://svn.mythtv.org/trac/changeset/24031
Added:
branches/libmythui-osd/libs/libmythtv/audioplayer.cpp
branches/libmythui-osd/libs/libmythtv/audioplayer.h
Modified:
branches/libmythui-osd/libs/libmythtv/NuppelVideoPlayer.cpp
branches/libmythui-osd/libs/libmythtv/NuppelVideoPlayer.h
branches/libmythui-osd/libs/libmythtv/avformatdecoder.cpp
branches/libmythui-osd/libs/libmythtv/decoderbase.cpp
branches/libmythui-osd/libs/libmythtv/decoderbase.h
branches/libmythui-osd/libs/libmythtv/libmythtv.pro
branches/libmythui-osd/libs/libmythtv/mythdvdplayer.cpp
branches/libmythui-osd/libs/libmythtv/mythdvdplayer.h
branches/libmythui-osd/libs/libmythtv/nuppeldecoder.cpp
branches/libmythui-osd/libs/libmythtv/playercontext.cpp
branches/libmythui-osd/libs/libmythtv/tv_play.cpp
branches/libmythui-osd/programs/mythtranscode/transcode.cpp
Log:
Branch libmythui-osd: Add new AudioPlayer class.
This encapsulates creation and access to the underlying AudioOutput
object and is largely a straight lift and shift of existing
NuppelVideoPlayer code into the new class.
The thread behaviour remains unchanged and as before, there is no lock
protection around the AddAudioData and GetBufferStatus methods as
locking here hurts performance and should not be necessary as they are
only called by the decoder and any deletion of the AudioOutput object is
triggered by the decoder thread itself.
The decoder now accesses the AudioPlayer class directly and as such the
new class structure mirrors that of other helper classes such as
SubtitleReader/CC608 reader etc, where the class is owned and controlled
by NuppelVideoPlayer but the decoder feeds data directly to the helper
class.
Refs #7650.
More information about the mythtv-commits
mailing list