projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c8acc
)
Fix typo in audio sampling rate setup.
author
Carl Hetherington
<cth@carlh.net>
Sun, 20 Jan 2013 23:54:13 +0000
(23:54 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 20 Jan 2013 23:54:13 +0000
(23:54 +0000)
src/sound_asset.cc
patch
|
blob
|
history
diff --git
a/src/sound_asset.cc
b/src/sound_asset.cc
index 499f41122209219ff0dc54b58b1564baee9b2e85..2ed183121afc307b1a160acf7d9d23b8c0acb589 100644
(file)
--- a/
src/sound_asset.cc
+++ b/
src/sound_asset.cc
@@
-329,7
+329,7
@@
SoundAssetWriter::SoundAssetWriter (SoundAsset* a)
{
/* Derived from ASDCP::Wav::SimpleWaveHeader::FillADesc */
_audio_desc.EditRate = ASDCP::Rational (_asset->edit_rate(), 1);
- _audio_desc.AudioSamplingRate = ASDCP::Rational (_asset->sampling_rate(),
0
);
+ _audio_desc.AudioSamplingRate = ASDCP::Rational (_asset->sampling_rate(),
1
);
_audio_desc.Locked = 0;
_audio_desc.ChannelCount = _asset->channels ();
_audio_desc.QuantizationBits = 24;