summaryrefslogtreecommitdiff
path: root/dxr3output-audio.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2010-01-09 20:56:25 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2010-01-09 20:56:25 +0100
commitd1ae16e9c46724dfe3be488a81e5cff3084ded99 (patch)
tree8f0e5da40c582751934cad2a1d0fbaff18637513 /dxr3output-audio.c
parent7ebd290822891494ce536126a2ee446bcd69876e (diff)
downloadvdr-plugin-dxr3-d1ae16e9c46724dfe3be488a81e5cff3084ded99.tar.gz
vdr-plugin-dxr3-d1ae16e9c46724dfe3be488a81e5cff3084ded99.tar.bz2
add first ro Accessor at cFixedLengthFrame
Diffstat (limited to 'dxr3output-audio.c')
-rw-r--r--dxr3output-audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dxr3output-audio.c b/dxr3output-audio.c
index 7c8fcab..25f40c1 100644
--- a/dxr3output-audio.c
+++ b/dxr3output-audio.c
@@ -121,10 +121,10 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame)
}
// volume changes
- audioOutput->changeVolume((short *)frame->GetData(), (size_t)frame->GetCount());
+ audioOutput->changeVolume((short *)frame->GetData(), (size_t)frame->length());
}
- audioOutput->write(frame->GetData(), frame->GetCount());
+ audioOutput->write(frame->GetData(), frame->length());
}
#undef SCR