diff options
author | Henri Herscher <henri@oreka.org> | 2005-12-06 17:27:50 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2005-12-06 17:27:50 +0000 |
commit | 57834e7e773ec0719b01ada6552674caa81adc61 (patch) | |
tree | 28a99e0122bb08dbdadd305ee182d0d7cb5b4fe2 /orkaudio/BatchProcessing.cpp | |
parent | df29199359505bcd1dfe84d4b06224ebcf4f3b8d (diff) |
Sample rate can now be different than 8KHz
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@94 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/BatchProcessing.cpp')
-rw-r--r-- | orkaudio/BatchProcessing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orkaudio/BatchProcessing.cpp b/orkaudio/BatchProcessing.cpp index 130161c..fe73a3d 100644 --- a/orkaudio/BatchProcessing.cpp +++ b/orkaudio/BatchProcessing.cpp @@ -90,7 +90,7 @@ void BatchProcessing::ThreadHandler(void *args) outFileRef.reset(new LibSndFileFile(SF_FORMAT_GSM610 | SF_FORMAT_WAV)); } CStdString file = CONFIG.m_audioOutputPath + "/" + audioTapeRef->GetPath() + audioTapeRef->GetIdentifier(); - outFileRef->Open(file, AudioFile::WRITE); + outFileRef->Open(file, AudioFile::WRITE, false, fileRef->GetSampleRate()); while(fileRef->ReadChunkMono(chunkRef)) { |