summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-09 00:32:08 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-09 00:32:08 +0100
commit17af99550ea468bf6702f4973630a24629a65ff7 (patch)
tree00be394a21f6506c2425b0b6691ac42a23a277c2 /examples
parentfe83eb5293fa4027856f6ee9faec7bfc8288badf (diff)
Simplify previous commit and remove some debugging.
Diffstat (limited to 'examples')
-rw-r--r--examples/make_dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index f0021e6b..582dd946 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -72,7 +72,7 @@ main ()
When creating the object we specify the sampling rate (48kHz) and the number of channels (2).
*/
boost::shared_ptr<dcp::SoundAsset> sound_asset (new dcp::SoundAsset (dcp::Fraction (24, 1), 48000, 2));
- boost::shared_ptr<dcp::SoundAssetWriter> sound_writer = sound_asset->start_write ("DCP/sound.mxf", dcp::SMPTE, dcp::CHANNEL_ASSIGNMENT_51);
+ boost::shared_ptr<dcp::SoundAssetWriter> sound_writer = sound_asset->start_write ("DCP/sound.mxf", dcp::SMPTE);
/* Write some sine waves */
float* audio[2];