diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-24 22:58:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-24 23:41:56 +0200 |
| commit | cc6a2fe7ee05718d549e72eb740d0eae290f8ecb (patch) | |
| tree | c760229e4f187b914ec37593258172668b32b94f /src/sound_asset.cc | |
| parent | a4930f8185f2d3f3a9dc93b938792fae758be4d7 (diff) | |
Check that DCPs have 24-bit audio.
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 90075278..c73255b8 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -83,6 +83,7 @@ SoundAsset::SoundAsset (boost::filesystem::path file) } _sampling_rate = desc.AudioSamplingRate.Denominator ? (desc.AudioSamplingRate.Numerator / desc.AudioSamplingRate.Denominator) : 0; + _bit_depth = desc.QuantizationBits; _channels = desc.ChannelCount; _edit_rate = Fraction (desc.EditRate.Numerator, desc.EditRate.Denominator); |
