From 7b533c03eba85af0f8e5295a8c4f038902e9e56b Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 9 Dec 2009 14:00:36 +0100 Subject: will comeback if time is right --- dxr3output-audio.c | 13 ------------- dxr3output.h | 1 - 2 files changed, 14 deletions(-) diff --git a/dxr3output-audio.c b/dxr3output-audio.c index aaf8a97..5cb0e54 100644 --- a/dxr3output-audio.c +++ b/dxr3output-audio.c @@ -125,19 +125,6 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame) audioOutput->write(frame->GetData(), frame->GetCount()); } -void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame) -{ - // update audio context - audioOutput->setup(frame->ctx); - - // volume changes - if (!audio()->isAc3Dts()) { - audioOutput->changeVolume((short *)frame->decoded, (size_t)frame->decodedSize); - } - - audioOutput->write((uchar *)frame->decoded, frame->decodedSize); -} - #undef SCR // Local variables: diff --git a/dxr3output.h b/dxr3output.h index 184cb9b..7d94e7d 100644 --- a/dxr3output.h +++ b/dxr3output.h @@ -63,7 +63,6 @@ private: iAudio *audioOutput; void PlayFrame(cFixedLengthFrame *frame); - void PlayFrame(cDxr3PesFrame *frame); }; // ================================== -- cgit v1.2.3