Pass MainSoundConfiguration object rather than a string.
authorCarl Hetherington <cth@carlh.net>
Sun, 2 Apr 2023 21:10:24 +0000 (23:10 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Apr 2023 21:37:15 +0000 (23:37 +0200)
commit2da55dbe6da21975612584365db17db2ae9935b8
tree732e00fbe2ff44a01644d0b7572c8fa346e97eba
parent5adfa769c56f9594ffe895eb89bcbfb38c90c192
Pass MainSoundConfiguration object rather than a string.

I guess originally it was a string mostly because it's not very well defined,
and Interop seemingly does whatever it wants.  This basic change also means
that things are checked more carefully, and so we must be more relaxed with
some things seen in the wild that I can't find contradictions for in the
standard (and also with the case of channel IDs, which does seem to be
mentioned in the standard).
src/cpl.cc
src/cpl.h
src/types.cc
src/types.h
test/combine_test.cc
test/cpl_metadata_test.cc
test/mca_test.cc
test/test.cc
test/verify_test.cc