diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-09 20:56:25 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-09 20:56:25 +0100 |
commit | d1ae16e9c46724dfe3be488a81e5cff3084ded99 (patch) | |
tree | 8f0e5da40c582751934cad2a1d0fbaff18637513 /dxr3output-audio.c | |
parent | 7ebd290822891494ce536126a2ee446bcd69876e (diff) | |
download | vdr-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.c | 4 |
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 |