diff options
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r-- | dxr3output-audio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dxr3output-audio.c b/dxr3output-audio.c index dd1e4ba..a7d6b10 100644 --- a/dxr3output-audio.c +++ b/dxr3output-audio.c @@ -128,14 +128,14 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame) void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame) { // update audio context - audioOutput->setup(frame->GetSampleContext()); + audioOutput->setup(frame->ctx); // volume changes if (!cDxr3Interface::instance()->IsAudioModeAC3()) { - audioOutput->changeVolume((short *)frame->GetDecoded(), (size_t)frame->GetDecodedSize()); + audioOutput->changeVolume((short *)frame->decoded, (size_t)frame->decodedSize); } - audioOutput->write((uchar *)frame->GetDecoded(), frame->GetDecodedSize()); + audioOutput->write((uchar *)frame->decoded, frame->decodedSize); } #undef SCR |