diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-06-05 16:09:50 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-06-05 16:09:50 +0200 |
commit | aa46f29d19b3f53479d39056dde69c9b1b6cfe8b (patch) | |
tree | 98c2fe400b0ad76a3265938d990071dfc2a288a2 /dxr3output-audio.c | |
parent | 7204d3d5b04a0612dcfe318605e2083a184dff23 (diff) | |
parent | 258901012adff5929c9488fe621101d7aa3e42e7 (diff) | |
download | vdr-plugin-dxr3-aa46f29d19b3f53479d39056dde69c9b1b6cfe8b.tar.gz vdr-plugin-dxr3-aa46f29d19b3f53479d39056dde69c9b1b6cfe8b.tar.bz2 |
Merge branch 'master' of gitosis@community.xeatre.tv:vdr-plugin-dxr3
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r-- | dxr3output-audio.c | 9 |
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: |