summaryrefslogtreecommitdiff
path: root/orkbasecxx/AudioTape.cpp
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2007-09-06 16:49:44 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2007-09-06 16:49:44 +0000
commit24cdce6e897870af929349ab7199d987713ee95c (patch)
tree808409e32691765c28df408576c862f892f0a077 /orkbasecxx/AudioTape.cpp
parent0f3612a0dda8de197ba7bde1878c13f30ced4dfd (diff)
Added new Tape Processor Tape File Naming
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@483 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/AudioTape.cpp')
-rw-r--r--orkbasecxx/AudioTape.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/orkbasecxx/AudioTape.cpp b/orkbasecxx/AudioTape.cpp
index c29f501..baebd36 100644
--- a/orkbasecxx/AudioTape.cpp
+++ b/orkbasecxx/AudioTape.cpp
@@ -201,7 +201,11 @@ void AudioTape::Write()
if(m_audioFileRef.get())
{
m_audioFileRef->Close();
- GenerateFinalFilePathAndIdentifier();
+ /*
+ * This function is now called in the TapeFileNaming
+ * tape processor.
+ */
+ //GenerateFinalFilePathAndIdentifier();
m_readyForBatchProcessing = true;
}
}
@@ -532,7 +536,12 @@ void AudioTape::GenerateFinalFilePath()
if(pathIdentifier.size() > 0)
{
- m_filePath = pathIdentifier;
+ m_filePath = pathIdentifier;
+
+ CStdString mkdirPath;
+
+ mkdirPath.Format("%s/%s", CONFIG.m_audioOutputPath, m_filePath);
+ FileRecursiveMkdir(mkdirPath, CONFIG.m_audioFilePermissions, CONFIG.m_audioFileOwner, CONFIG.m_audioFileGroup, CONFIG.m_audioOutputPath);
}
}
}