summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-18 17:05:37 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-18 17:05:37 +0100
commit37d2bf172e9061f24c874d5416bd3c8f9719c823 (patch)
treee912e6346133641863a7f196796d71f550bf82f2 /test
parentd0188ed3e1ea5536e729e93b87d54114368120ac (diff)
Support Dolby-style WAV back surround names when guessing mappings (#2427).
Diffstat (limited to 'test')
-rw-r--r--test/audio_mapping_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/audio_mapping_test.cc b/test/audio_mapping_test.cc
index 4e1042759..37f3d2476 100644
--- a/test/audio_mapping_test.cc
+++ b/test/audio_mapping_test.cc
@@ -97,6 +97,10 @@ BOOST_AUTO_TEST_CASE (audio_mapping_guess_test)
/* Only the filename should be taken into account */
guess_check ("-Lfe-/foo_L.wav", 0);
+
+ /* Dolby-style */
+ guess_check ("jake-Lrs-good.wav", 6);
+ guess_check ("elwood-Rrs-good.wav", 7);
}