summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3output-audio.c13
-rw-r--r--dxr3output.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/dxr3output-audio.c b/dxr3output-audio.c
index aaf8a97..5cb0e54 100644
--- a/dxr3output-audio.c
+++ b/dxr3output-audio.c
@@ -125,19 +125,6 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame)
audioOutput->write(frame->GetData(), frame->GetCount());
}
-void cDxr3AudioOutThread::PlayFrame(cDxr3PesFrame *frame)
-{
- // update audio context
- audioOutput->setup(frame->ctx);
-
- // volume changes
- if (!audio()->isAc3Dts()) {
- audioOutput->changeVolume((short *)frame->decoded, (size_t)frame->decodedSize);
- }
-
- audioOutput->write((uchar *)frame->decoded, frame->decodedSize);
-}
-
#undef SCR
// Local variables:
diff --git a/dxr3output.h b/dxr3output.h
index 184cb9b..7d94e7d 100644
--- a/dxr3output.h
+++ b/dxr3output.h
@@ -63,7 +63,6 @@ private:
iAudio *audioOutput;
void PlayFrame(cFixedLengthFrame *frame);
- void PlayFrame(cDxr3PesFrame *frame);
};
// ==================================