Store sound asset language as a string, but set it as a
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Dec 2020 12:12:21 +0000 (13:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 19:13:22 +0000 (20:13 +0100)
commit0b39df958f534068950669a763be7b4602740107
tree9427106257d4309fc858a94d3c40055d0140fb89
parent66f5e0b713f4ae4066e92ff741d5d71f827a1c37
Store sound asset language as a string, but set it as a
dcp::LanguageTag.

This makes it work the same as other language tags, and tolerates
bad values while trying not to allow them to be created.
src/sound_asset.cc
src/sound_asset.h
src/sound_asset_writer.cc