added dist hook for new napali source.
[asdcplib.git] / src / blackwave.cpp
index 137403898c8450ddec4f7ceec9e4f434687a0777..3e75c3e76b3e6f1ea7dad781b85b3f15437b8592 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2005, John Hurst
+Copyright (c) 2005-2009, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -56,12 +56,12 @@ banner(FILE* stream = stderr)
 {
   fprintf(stream, "\n\
 %s (asdcplib %s)\n\n\
-Copyright (c) 2005-2006 John Hurst\n\n\
-wavesplit is part of asdcplib.\n\
+Copyright (c) 2005-2009 John Hurst\n\n\
+%s is part of asdcplib.\n\
 asdcplib may be copied only under the terms of the license found at\n\
 the top of every file in the asdcplib distribution kit.\n\n\
 Specify the -h (help) option for further information about %s\n\n",
-         PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME);
+         PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME, PROGRAM_NAME);
 }
 
 //
@@ -152,7 +152,7 @@ make_black_wav_file(CommandOptions& Options)
   PCM::FrameBuffer FrameBuffer;
   PCM::AudioDescriptor ADesc;
 
-  ADesc.SampleRate = Rational(24,1);
+  ADesc.EditRate = Rational(24,1);
   ADesc.AudioSamplingRate = ASDCP::SampleRate_48k;
   ADesc.Locked = 0;
   ADesc.ChannelCount = 1;