summaryrefslogtreecommitdiff
path: root/dxr3output-audio.c
diff options
context:
space:
mode:
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 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) {