diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-15 16:17:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-15 16:17:01 +0200 |
| commit | 4219d4b76c5cd5690b1f4fa0c248d93ced26d05a (patch) | |
| tree | 6266573a3a26dd9f432d6bd096a2c6bbd85bf6c4 /test/upmixer_a_test.cc | |
| parent | 39dcdd18487d5d1e20f0343fe617ed5bf44c1387 (diff) | |
Fix length of player output so it can be either the film's length or playlist's length, as appropriate.
Diffstat (limited to 'test/upmixer_a_test.cc')
| -rw-r--r-- | test/upmixer_a_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/upmixer_a_test.cc b/test/upmixer_a_test.cc index 545f081ba..a00a77add 100644 --- a/test/upmixer_a_test.cc +++ b/test/upmixer_a_test.cc @@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test) 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, film->playlist(), film->length())); player->Audio.connect (bind (&write, _1, _2)); while (!player->pass()) {} |
