diff options
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r-- | dxr3output-audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |