diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-26 01:40:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 58dce923b9d438a27ce1cd7e3125370f74d46e3a (patch) | |
| tree | 5a332a967aa3fb9bcb923f62b4832d8bb4d2bb17 /test/audio_buffers_test.cc | |
| parent | e7e06b4c9a6bf4459ff27a30cf347121c0e40e07 (diff) | |
Fix merging of audio in various circumstances.
Diffstat (limited to 'test/audio_buffers_test.cc')
| -rw-r--r-- | test/audio_buffers_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_buffers_test.cc b/test/audio_buffers_test.cc index 25be3fe4b..c9231ae7f 100644 --- a/test/audio_buffers_test.cc +++ b/test/audio_buffers_test.cc @@ -228,7 +228,7 @@ BOOST_AUTO_TEST_CASE (audio_buffers_move) int const to = 666; int const frames = 444; - buffers.move (from, to, frames); + buffers.move (frames, from, to); /* Re-seed and check the un-moved parts */ srand (84); @@ -288,7 +288,7 @@ BOOST_AUTO_TEST_CASE (audio_buffers_accumulate_frames) AudioBuffers b (3, 256); random_fill (b); - a.accumulate_frames (&b, 91, 44, 129); + a.accumulate_frames (&b, 129, 91, 44); srand (38); for (int i = 0; i < 256; ++i) { |
