diff options
author | Henri Herscher <henri@oreka.org> | 2007-06-06 13:43:28 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-06-06 13:43:28 +0000 |
commit | 9845d2476c05c14226ab2456dcc4636677f34897 (patch) | |
tree | 2e930cd3dc3762d2ed353a5f0e61c6b491520bcd /orkaudio | |
parent | 2501598d00dac0b63904efc01cbc95ac15e2e19b (diff) |
Enhanced configurable tape file naming and added configurable tape path naming support.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@443 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio')
-rw-r--r-- | orkaudio/BatchProcessing.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/orkaudio/BatchProcessing.cpp b/orkaudio/BatchProcessing.cpp index 6b9bf68..3a720dd 100644 --- a/orkaudio/BatchProcessing.cpp +++ b/orkaudio/BatchProcessing.cpp @@ -242,7 +242,11 @@ void BatchProcessing::ThreadHandler(void *args) throw(debug); } } - CStdString file = CONFIG.m_audioOutputPath + "/" + audioTapeRef->GetPath() + audioTapeRef->GetIdentifier(); + + CStdString path = CONFIG.m_audioOutputPath + "/" + audioTapeRef->GetPath(); + FileRecursiveMkdir(path); + + CStdString file = path + "/" + audioTapeRef->GetIdentifier(); outFileRef->Open(file, AudioFile::WRITE, false, fileRef->GetSampleRate()); } if(voIpSession) |