diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-09 20:02:24 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-09 20:02:24 +0100 |
commit | b4bd88286023822c67d4fde7379b82c14d2612a0 (patch) | |
tree | 607e23ecbfa2582fb480bc10167fc29ceecf9e6f /dxr3output-audio.c | |
parent | 8d22d3ebd5712d923855031d39aacd4fa172bcde (diff) | |
download | vdr-plugin-dxr3-b4bd88286023822c67d4fde7379b82c14d2612a0.tar.gz vdr-plugin-dxr3-b4bd88286023822c67d4fde7379b82c14d2612a0.tar.bz2 |
make more use of Accessors
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 5588bc7..fcb5295 100644 --- a/dxr3output-audio.c +++ b/dxr3output-audio.c @@ -110,8 +110,8 @@ void cDxr3AudioOutThread::PlayFrame(cFixedLengthFrame *frame) // update audio context SampleContext ctx; - ctx.samplerate = frame->GetSampleRate(); - ctx.channels = frame->GetChannelCount(); + ctx.samplerate = frame->samplerate(); + ctx.channels = frame->channels(); // TODO find cause why we need this workaround if (ctx.samplerate != -1 && ctx.channels != -1) { |