summaryrefslogtreecommitdiff
path: root/src/wavesplit.cpp
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2010-02-18 19:30:01 +0000
committermsheby <>2010-02-18 19:30:01 +0000
commitb8f6cd62d308e3cdb88e55f675b4883257767b79 (patch)
tree1222833f9a98272c5352541d2ecd1484ee19b723 /src/wavesplit.cpp
parent3198199840fb69e99acae9ca044481d378296e8c (diff)
Add VC project files.
Diffstat (limited to 'src/wavesplit.cpp')
-rwxr-xr-xsrc/wavesplit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wavesplit.cpp b/src/wavesplit.cpp
index 90e7e93..f3dd3fd 100755
--- a/src/wavesplit.cpp
+++ b/src/wavesplit.cpp
@@ -200,7 +200,7 @@ wav_file_info(CommandOptions& Options)
if ( ASDCP_SUCCESS(result) )
{
Parser.FillAudioDescriptor(ADesc);
- ADesc.SampleRate = PictureRate;
+ ADesc.EditRate = PictureRate;
fprintf(stderr, "48Khz PCM Audio, %s fps (%u spf)\n", "24",
PCM::CalcSamplesPerFrame(ADesc));
fputs("AudioDescriptor:\n", stderr);
@@ -253,7 +253,7 @@ split_wav_file(CommandOptions& Options)
{
Parser.FillAudioDescriptor(ADesc);
- ADesc.SampleRate = PictureRate;
+ ADesc.EditRate = PictureRate;
ui32_t fb_size = PCM::CalcFrameBufferSize(ADesc);
assert((fb_size % 2) == 0);
FrameBuffer.Capacity(fb_size);