diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-14 20:16:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-14 20:16:44 +0200 |
| commit | 4d6c8aaf0167cde3bb63e9014604243bdc47b1a1 (patch) | |
| tree | 13aae09fb07326febeb401930718692b45df2cff /src/sound_asset.cc | |
| parent | 314060f975dc9806f49ec8bbb1c11041a2ac111f (diff) | |
s/DCPReadError/ReadError/g
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 1f1c2f43..c28a33fe 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -67,7 +67,7 @@ SoundAsset::SoundAsset (boost::filesystem::path file) ASDCP::PCM::AudioDescriptor desc; if (ASDCP_FAILURE (reader.FillAudioDescriptor (desc))) { - boost::throw_exception (DCPReadError ("could not read audio MXF information")); + boost::throw_exception (ReadError ("could not read audio MXF information")); } _sampling_rate = desc.AudioSamplingRate.Numerator / desc.AudioSamplingRate.Denominator; @@ -78,7 +78,7 @@ SoundAsset::SoundAsset (boost::filesystem::path file) ASDCP::WriterInfo info; if (ASDCP_FAILURE (reader.FillWriterInfo (info))) { - boost::throw_exception (DCPReadError ("could not read audio MXF information")); + boost::throw_exception (ReadError ("could not read audio MXF information")); } _id = read_writer_info (info); @@ -112,11 +112,11 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, NoteHand ASDCP::PCM::AudioDescriptor desc_A; if (ASDCP_FAILURE (reader_A.FillAudioDescriptor (desc_A))) { - boost::throw_exception (DCPReadError ("could not read audio MXF information")); + boost::throw_exception (ReadError ("could not read audio MXF information")); } ASDCP::PCM::AudioDescriptor desc_B; if (ASDCP_FAILURE (reader_B.FillAudioDescriptor (desc_B))) { - boost::throw_exception (DCPReadError ("could not read audio MXF information")); + boost::throw_exception (ReadError ("could not read audio MXF information")); } if (desc_A.EditRate != desc_B.EditRate) { |
