X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Faudio_analysis_test.cc;h=75306d8b7a22cc91e2d9550b777353969c336d7b;hp=83ed458caee197de2be99a422c0be20a868c7227;hb=65b331d32c383f3a9049f29bf03ab3fe3193b31a;hpb=6dd3777a0074f6f97c7f7286621006a1c14376e8 diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc index 83ed458ca..75306d8b7 100644 --- a/test/audio_analysis_test.cc +++ b/test/audio_analysis_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include "lib/ffmpeg_content.h" #include "lib/ratio.h" #include "lib/job_manager.h" +#include "lib/audio_content.h" #include "test.h" using boost::shared_ptr; @@ -110,8 +111,8 @@ BOOST_AUTO_TEST_CASE (audio_analysis_negative_delay_test) { shared_ptr film = new_test_film ("audio_analysis_negative_delay_test"); film->set_name ("audio_analysis_negative_delay_test"); - shared_ptr c (new FFmpegContent (film, private_data / "boon_telly.mkv")); - c->set_audio_delay (-250); + shared_ptr c (new FFmpegContent (film, private_data / "boon_telly.mkv")); + c->audio->set_audio_delay (-250); film->examine_and_add_content (c); wait_for_jobs (); @@ -126,7 +127,7 @@ BOOST_AUTO_TEST_CASE (audio_analysis_test2) { shared_ptr film = new_test_film ("audio_analysis_test2"); film->set_name ("audio_analysis_test2"); - shared_ptr c (new FFmpegContent (film, private_data / "3d_thx_broadway_2010_lossless.m2ts")); + shared_ptr c (new FFmpegContent (film, private_data / "3d_thx_broadway_2010_lossless.m2ts")); film->examine_and_add_content (c); wait_for_jobs ();