summaryrefslogtreecommitdiff
path: root/test/audio_delay_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-14 01:01:28 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commit65b331d32c383f3a9049f29bf03ab3fe3193b31a (patch)
tree3b27e0ca60742021094cee889a1c8d1ef4d75f8c /test/audio_delay_test.cc
parent6dd3777a0074f6f97c7f7286621006a1c14376e8 (diff)
Split audio; builds.
Diffstat (limited to 'test/audio_delay_test.cc')
-rw-r--r--test/audio_delay_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/audio_delay_test.cc b/test/audio_delay_test.cc
index a455110b8..f12e8717e 100644
--- a/test/audio_delay_test.cc
+++ b/test/audio_delay_test.cc
@@ -33,6 +33,7 @@
#include "lib/dcp_content_type.h"
#include "lib/ratio.h"
#include "lib/film.h"
+#include "lib/audio_content.h"
#include "test.h"
#include <iostream>
@@ -53,7 +54,7 @@ void test_audio_delay (int delay_in_ms)
film->set_name (film_name);
shared_ptr<SndfileContent> content (new SndfileContent (film, "test/data/staircase.wav"));
- content->set_audio_delay (delay_in_ms);
+ content->audio->set_audio_delay (delay_in_ms);
film->examine_and_add_content (content);
wait_for_jobs ();