X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Faudio_decoder_test.cc;h=2c6794a7604f8fd45df29b88a8e4734533894d3e;hb=8d29ca001ae8297204d1a9ccfcee5fae485041ff;hp=00d555d86298ff600946b9002189d061bd3514ad;hpb=1d68fe1e3ad1a9aa85fa7fc6071a0b8c64973953;p=dcpomatic.git diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc index 00d555d86..2c6794a76 100644 --- a/test/audio_decoder_test.cc +++ b/test/audio_decoder_test.cc @@ -26,6 +26,7 @@ #include "test.h" #include "lib/audio_decoder.h" #include "lib/single_stream_audio_content.h" +#include using std::string; using std::cout; @@ -59,12 +60,12 @@ class TestAudioDecoder : public AudioDecoder { public: TestAudioDecoder (shared_ptr content) - : AudioDecoder (content) + : AudioDecoder (content, false) , _test_audio_content (content) , _position (0) {} - bool pass () + bool pass (PassReason, bool) { Frame const N = min ( Frame (2000),