projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More build fixes.
[dcpomatic.git]
/
test
/
butler_test.cc
diff --git
a/test/butler_test.cc
b/test/butler_test.cc
index e577793342e30c9835871cc5eb5dc78f1d062273..3d524a3b258382d98f82786224fae38a69793eb2 100644
(file)
--- a/
test/butler_test.cc
+++ b/
test/butler_test.cc
@@
-67,7
+67,7
@@
BOOST_AUTO_TEST_CASE (butler_test1)
/* XXX: check the frame contents */
float buffer[256 * 6];
/* XXX: check the frame contents */
float buffer[256 * 6];
- BOOST_REQUIRE (butler.get_audio(buffer, 256) == DCPTime());
+ BOOST_REQUIRE (butler.get_audio(
Butler::Behaviour::BLOCKING,
buffer, 256) == DCPTime());
for (int i = 0; i < 256; ++i) {
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 0], 0);
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 1], 0);
for (int i = 0; i < 256; ++i) {
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 0], 0);
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 1], 0);