projects
/
asdcplib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgot a fix.
[asdcplib.git]
/
src
/
blackwave.cpp
diff --git
a/src/blackwave.cpp
b/src/blackwave.cpp
index c84774fa66983fbbfde73eda08b6a4da5208f4c3..628b51db8abe227511828c06ea9ae92e8dba3ad3 100644
(file)
--- a/
src/blackwave.cpp
+++ b/
src/blackwave.cpp
@@
-38,7
+38,7
@@
using namespace ASDCP;
//
// command line option parser class
//
// command line option parser class
-static const char* PACKAGE = "
wavsplit
"; // program name for messages
+static const char* PACKAGE = "
blackwave
"; // program name for messages
// Macros used to test command option data state.
// Macros used to test command option data state.
@@
-157,8
+157,8
@@
make_black_wav_file(CommandOptions& Options)
ADesc.Locked = 0;
ADesc.ChannelCount = 1;
ADesc.QuantizationBits = 24;
ADesc.Locked = 0;
ADesc.ChannelCount = 1;
ADesc.QuantizationBits = 24;
- ADesc.BlockAlign =
18
;
- ADesc.AvgBps =
86
400;
+ ADesc.BlockAlign =
3
;
+ ADesc.AvgBps =
14
400;
ADesc.LinkedTrackID = 1;
ADesc.ContainerDuration = Options.duration;
ADesc.LinkedTrackID = 1;
ADesc.ContainerDuration = Options.duration;
@@
-167,9
+167,9
@@
make_black_wav_file(CommandOptions& Options)
memset(FrameBuffer.Data(), 0, FrameBuffer.Capacity());
FrameBuffer.Size(FrameBuffer.Capacity());
memset(FrameBuffer.Data(), 0, FrameBuffer.Capacity());
FrameBuffer.Size(FrameBuffer.Capacity());
- if (
1 ) //
Options.verbose_flag )
+ if ( Options.verbose_flag )
{
{
- fprintf(stderr, "48Khz PCM Audio, %s fps (%
l
u spf)\n", "24",
+ fprintf(stderr, "48Khz PCM Audio, %s fps (%u spf)\n", "24",
PCM::CalcSamplesPerFrame(ADesc));
fputs("AudioDescriptor:\n", stderr);
PCM::AudioDescriptorDump(ADesc);
PCM::CalcSamplesPerFrame(ADesc));
fputs("AudioDescriptor:\n", stderr);
PCM::AudioDescriptorDump(ADesc);