diff options
-rw-r--r-- | orkaudio/BatchProcessing.cpp | 6 | ||||
-rw-r--r-- | orkaudio/messages/TapeMsg.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/orkaudio/BatchProcessing.cpp b/orkaudio/BatchProcessing.cpp index 1d47f10..6d65afe 100644 --- a/orkaudio/BatchProcessing.cpp +++ b/orkaudio/BatchProcessing.cpp @@ -138,8 +138,9 @@ void BatchProcessing::ThreadHandler(void *args) else { fileRef = audioTapeRef->GetAudioFileRef(); + CStdString filename = audioTapeRef->GetFilename(); - if(pBatchProcessing->DropTapeIfNeeded(audioTapeRef->GetFilename()) == true) + if(pBatchProcessing->DropTapeIfNeeded(filename) == true) { // The tape we have pulled has been dropped in the meantime. just delete the capture file if(CONFIG.m_deleteNativeFile) @@ -238,7 +239,8 @@ void BatchProcessing::ThreadHandler(void *args) CStdString threadIdString = IntToString(threadId); LOG4CXX_INFO(LOG.batchProcessingLog, CStdString("Th") + threadIdString + " deleting native: " + audioTapeRef->GetIdentifier()); } - pBatchProcessing->DropTapeIfNeeded(audioTapeRef->GetFilename()); // maybe the tape was dropped while we were processing it + CStdString filename = audioTapeRef->GetFilename(); + pBatchProcessing->DropTapeIfNeeded(filename); // maybe the tape was dropped while we were processing it } } } diff --git a/orkaudio/messages/TapeMsg.h b/orkaudio/messages/TapeMsg.h index 5365e02..81f5e3e 100644 --- a/orkaudio/messages/TapeMsg.h +++ b/orkaudio/messages/TapeMsg.h @@ -15,7 +15,7 @@ #define __TAPEMSG_H__ #include "messages/SyncMessage.h" -#include "messages/ASyncMessage.h" +#include "messages/AsyncMessage.h" #include "AudioTape.h" #define TAPE_MESSAGE_NAME "tape" |