# HG changeset patch # User Chris Cannam # Date 1151509324 0 # Node ID a996c0ef6177c74f18db47be72e32821e382c106 # Parent 4ed2448582cc768133947b42c27ef2c6d3daafdd * Exceptions for file read etc diff -r 4ed2448582cc -r a996c0ef6177 audioio/AudioGenerator.cpp --- a/audioio/AudioGenerator.cpp Thu Jun 15 12:28:47 2006 +0000 +++ b/audioio/AudioGenerator.cpp Wed Jun 28 15:42:04 2006 +0000 @@ -19,6 +19,7 @@ #include "base/PlayParameters.h" #include "base/PlayParameterRepository.h" #include "base/Pitch.h" +#include "base/Exceptions.h" #include "model/NoteModel.h" #include "model/DenseTimeValueModel.h" @@ -185,7 +186,7 @@ try { m_sampleDir = TempDirectory::instance()->getSubDirectoryPath("samples"); - } catch (TempDirectory::DirectoryCreationFailed f) { + } catch (DirectoryCreationFailed f) { std::cerr << "WARNING: AudioGenerator::getSampleDir: Failed to create " << "temporary sample directory" << std::endl; m_sampleDir = "";