diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-09 22:51:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-09 22:51:30 +0100 |
| commit | 9579bfdec2fab28fc221e397cf848a08e48f6840 (patch) | |
| tree | c05ccf3061815c81f9496edfd2b03e9752edd4f4 /test | |
| parent | cb88e67a861161c49d350cbdc7d5006bbd94ffa1 (diff) | |
MAX_AUDIO_CHANNELS -> MAX_DCP_AUDIO_CHANNELS.
Diffstat (limited to 'test')
| -rw-r--r-- | test/audio_mapping_test.cc | 2 | ||||
| -rw-r--r-- | test/silence_padding_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_mapping_test.cc b/test/audio_mapping_test.cc index a2a74104b..bfb53b087 100644 --- a/test/audio_mapping_test.cc +++ b/test/audio_mapping_test.cc @@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE (audio_mapping_test) four.make_default (); for (int i = 0; i < 4; ++i) { - for (int j = 0; j < MAX_AUDIO_CHANNELS; ++j) { + for (int j = 0; j < MAX_DCP_AUDIO_CHANNELS; ++j) { BOOST_CHECK_EQUAL (four.get (i, static_cast<libdcp::Channel> (j)), i == j ? 1 : 0); } } diff --git a/test/silence_padding_test.cc b/test/silence_padding_test.cc index 82cbad080..d5236c144 100644 --- a/test/silence_padding_test.cc +++ b/test/silence_padding_test.cc @@ -115,7 +115,7 @@ static void test_silence_padding (int channels) BOOST_AUTO_TEST_CASE (silence_padding_test) { - for (int i = 1; i < MAX_AUDIO_CHANNELS; ++i) { + for (int i = 1; i < MAX_DCP_AUDIO_CHANNELS; ++i) { test_silence_padding (i); } } |
