/** @file test/upmixer_a_test.cc
* @brief Check the Upmixer A against some reference sound files.
- * @ingroup specific
+ * @ingroup selfcontained
*/
#include <boost/test/unit_test.hpp>
#include "lib/upmixer_a.h"
#include "test.h"
-using boost::shared_ptr;
+using std::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+using namespace dcpomatic;
static SNDFILE* L;
static SNDFILE* R;
shared_ptr<FFmpegContent> content (new FFmpegContent ("test/data/white.wav"));
film->examine_and_add_content (content);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
SF_INFO info;
info.samplerate = 48000;
Ls = sf_open ("build/test/upmixer_a_test/Ls.wav", SFM_WRITE, &info);
Rs = sf_open ("build/test/upmixer_a_test/Rs.wav", SFM_WRITE, &info);
- shared_ptr<Player> player (new Player (film, film->playlist ()));
+ shared_ptr<Player> player (new Player(film));
player->Audio.connect (bind (&write, _1, _2));
while (!player->pass()) {}