summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/audio_decoder_test.cc')
-rw-r--r--test/audio_decoder_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 5eabc4074..73d515492 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -82,7 +82,7 @@ public:
}
}
- audio->audio (_test_audio_content->audio->stream(), buffers, ContentTime::from_frames (_position, 48000));
+ audio->give (_test_audio_content->audio->stream(), buffers, ContentTime::from_frames (_position, 48000));
_position += N;
return N < 2000;
@@ -106,7 +106,7 @@ static ContentAudio
get (Frame from, Frame length)
{
decoder->seek (ContentTime::from_frames (from, content->audio->resampled_frame_rate ()), true);
- ContentAudio ca = decoder->audio->get_audio (content->audio->stream(), from, length, true);
+ ContentAudio ca = decoder->audio->get (content->audio->stream(), from, length, true);
BOOST_CHECK_EQUAL (ca.frame, from);
return ca;
}