summaryrefslogtreecommitdiff
path: root/dxr3output-audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r--dxr3output-audio.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/dxr3output-audio.c b/dxr3output-audio.c
index dd1e4ba..f540687 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
@@ -144,5 +144,6 @@ void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame)
// mode: c++
// c-file-style: "stroustrup"
// c-file-offsets: ((inline-open . 0))
-// indent-tabs-mode: t
+// tab-width: 4;
+// indent-tabs-mode: nil
// End: