summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-10 15:06:19 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit3db1df492e1009ee28641cdc593a139df156e8d7 (patch)
tree7d86e74117a701515f381ee707d7699acab7b2dc /test/audio_decoder_test.cc
parent4fe27489ad67267081d048b45a4df9ee37541fde (diff)
Store audio length in AudioStream.
Diffstat (limited to 'test/audio_decoder_test.cc')
-rw-r--r--test/audio_decoder_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 73d515492..7dba67b5a 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -42,7 +42,7 @@ public:
: Content (film)
{
audio.reset (new AudioContent (this, film));
- audio->set_stream (AudioStreamPtr (new AudioStream (48000, 2)));
+ audio->set_stream (AudioStreamPtr (new AudioStream (48000, audio_length(), 2)));
}
std::string summary () const {