Mercurial > hg > svcore
comparison data/model/WritableWaveFileModel.cpp @ 317:c324d410b096
* RemoteFile -> FileSource
now it's used all over the place for local files as well.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 16:20:26 +0000 |
parents | 3a6725f285d6 |
children | 0e30c8ec15a0 94fc0591ea43 |
comparison
equal
deleted
inserted
replaced
316:3a6725f285d6 | 317:c324d410b096 |
---|---|
58 delete m_writer; | 58 delete m_writer; |
59 m_writer = 0; | 59 m_writer = 0; |
60 return; | 60 return; |
61 } | 61 } |
62 | 62 |
63 RemoteFile source(m_writer->getPath()); | 63 FileSource source(m_writer->getPath()); |
64 | 64 |
65 m_reader = new WavFileReader(source, true); | 65 m_reader = new WavFileReader(source, true); |
66 if (!m_reader->getError().isEmpty()) { | 66 if (!m_reader->getError().isEmpty()) { |
67 std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl; | 67 std::cerr << "WritableWaveFileModel: Error in creating wave file reader" << std::endl; |
68 delete m_reader; | 68 delete m_reader; |