summaryrefslogtreecommitdiffstats
path: root/src/sound/PeakFileManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/PeakFileManager.cpp')
-rw-r--r--src/sound/PeakFileManager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sound/PeakFileManager.cpp b/src/sound/PeakFileManager.cpp
index 0469f85..e860e00 100644
--- a/src/sound/PeakFileManager.cpp
+++ b/src/sound/PeakFileManager.cpp
@@ -132,7 +132,7 @@ PeakFileManager::hasValidPeaks(AudioFile *audioFile)
PeakFile *peakFile = getPeakFile(audioFile);
if (peakFile == 0) {
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
std::cerr << "PeakFileManager::hasValidPeaks - no peak file found"
<< std::endl;
#endif
@@ -150,7 +150,7 @@ PeakFileManager::hasValidPeaks(AudioFile *audioFile)
} else if (audioFile->getType() == BWF) {
// check internal peak chunk
} else {
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
std::cout << "PeakFileManager::hasValidPeaks - unsupported file type"
<< std::endl;
#endif
@@ -170,7 +170,7 @@ void
PeakFileManager::generatePeaks(AudioFile *audioFile,
unsigned short updatePercentage)
{
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
std::cout << "PeakFileManager::generatePeaks - generating peaks for \""
<< audioFile->getFilename() << "\"" << std::endl;
#endif
@@ -199,7 +199,7 @@ PeakFileManager::generatePeaks(AudioFile *audioFile,
} else if (audioFile->getType() == BWF) {
// write the file out and incorporate the peak chunk
} else {
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
std::cerr << "PeakFileManager::generatePeaks - unsupported file type"
<< std::endl;
#endif
@@ -237,7 +237,7 @@ PeakFileManager::getPreview(AudioFile *audioFile,
width,
showMinima);
} catch (SoundFile::BadSoundFileException e) {
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
std::cout << "PeakFileManager::getPreview "
<< "\"" << e << "\"" << std::endl;
#else
@@ -250,7 +250,7 @@ PeakFileManager::getPreview(AudioFile *audioFile,
} else if (audioFile->getType() == BWF) {
// write the file out and incorporate the peak chunk
}
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
else {
std::cerr << "PeakFileManager::getPreview - unsupported file type"
<< std::endl;
@@ -306,7 +306,7 @@ PeakFileManager::stopPreview()
TQFile file(fileName);
bool removed = file.remove();
-#ifdef DEBUG_PEATDEFILEMANAGER
+#ifdef DEBUG_PEAKFILEMANAGER
if (removed) {
std::cout << "PeakFileManager::stopPreview() - removed preview"