MAX_AUDIO_CHANNELS -> MAX_DCP_AUDIO_CHANNELS.
[dcpomatic.git] / test / audio_mapping_test.cc
index a2a74104b513820e367b43d67d2609beb099c324..bfb53b0871193c681c333497b3343403d5d1e761 100644 (file)
@@ -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);
                }
        }