diff options
author | Henri Herscher <henri@oreka.org> | 2007-01-17 19:29:28 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-01-17 19:29:28 +0000 |
commit | 6957465d345e3665dd97c926cc508140f72c4ba0 (patch) | |
tree | df6fd39053550f0c0bf04d7f24055b91b72368c2 /orkbasecxx/AudioTape.cpp | |
parent | 5c47f8ba4dbf7ce5abe26f1370b1b7be6b21fc85 (diff) |
Fixed g++ compilation problem.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@391 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/AudioTape.cpp')
-rw-r--r-- | orkbasecxx/AudioTape.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/orkbasecxx/AudioTape.cpp b/orkbasecxx/AudioTape.cpp index 27818d9..fedc828 100644 --- a/orkbasecxx/AudioTape.cpp +++ b/orkbasecxx/AudioTape.cpp @@ -153,7 +153,8 @@ void AudioTape::Write() // Prevent identifier collision CStdString path = CONFIG.m_audioOutputPath + "/" + m_filePath; - PreventFileIdentifierCollision(path, m_fileIdentifier , m_audioFileRef->GetExtension()); + CStdString extension = m_audioFileRef->GetExtension(); + PreventFileIdentifierCollision(path, m_fileIdentifier , extension); // Open the capture file m_audioFileRef->Open(file, AudioFile::WRITE, false, chunkRef->GetSampleRate()); |