summaryrefslogtreecommitdiff
path: root/examples/make_dcp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/make_dcp.cc')
-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 bbe29545..7f387db2 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -86,7 +86,7 @@ main ()
std::array<float*, 2> audio;
audio[0] = left.data();
audio[1] = right.data();
- sound_writer->write (audio.data(), 48000);
+ sound_writer->write(audio.data(), 2, 48000);
/* And finish off */
sound_writer->finalize ();