From ee8062d3bed859807733aba72821df65948765d6 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 8 Dec 2009 12:41:20 +0100 Subject: remove IsAudioModeAC3() method - instead make use of iAudio --- dxr3output-audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dxr3output-audio.c') diff --git a/dxr3output-audio.c b/dxr3output-audio.c index 86847e8..21fc11e 100644 --- a/dxr3output-audio.c +++ b/dxr3output-audio.c @@ -118,7 +118,7 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame) } // volume changes - if (!cDxr3Interface::instance()->IsAudioModeAC3()) { + if (!audio()->isAudioModeAC3()) { audioOutput->changeVolume((short *)frame->GetData(), (size_t)frame->GetCount()); } @@ -131,7 +131,7 @@ void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame) audioOutput->setup(frame->ctx); // volume changes - if (!cDxr3Interface::instance()->IsAudioModeAC3()) { + if (!audio()->isAudioModeAC3()) { audioOutput->changeVolume((short *)frame->decoded, (size_t)frame->decodedSize); } -- cgit v1.2.3