summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-10 14:37:57 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit0758d834992f0adb8aa8d4d9908a64ce8708f05c (patch)
tree9fc3f639376ce1389f046807e9b089d526494d14 /test/audio_decoder_test.cc
parent504c63b3d62038bc486ca8a09e77fbb403907edd (diff)
Rename some methods.
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;
}