comparison data/fileio/WavFileReader.cpp @ 188:f86b74d1b143

* Simplify maker names in plugin menu * Make sure derived models have a name (based on the transform) * Don't start deriving a model from a derived model until the derived model is ready * Tidy up completion management in writable wave file model * Make writable models save/reload correctly from session file (i.e. regenerating from the original transform) * Same for dense 3d models -- don't save the data, just the transform details * Add a comment describing the SV file format
author Chris Cannam
date Fri, 13 Oct 2006 12:51:05 +0000
parents 89b05b679dc3
children 91fdc752e540
comparison
equal deleted inserted replaced
187:89b05b679dc3 188:f86b74d1b143
79 std::cerr << "WavFileReader::updateFrameCount: Failed to open file (" 79 std::cerr << "WavFileReader::updateFrameCount: Failed to open file ("
80 << sf_strerror(m_file) << ")" << std::endl; 80 << sf_strerror(m_file) << ")" << std::endl;
81 } 81 }
82 } 82 }
83 83
84 std::cerr << "WavFileReader::updateFrameCount: now " << m_fileInfo.frames << std::endl; 84 // std::cerr << "WavFileReader::updateFrameCount: now " << m_fileInfo.frames << std::endl;
85 85
86 m_frameCount = m_fileInfo.frames; 86 m_frameCount = m_fileInfo.frames;
87 87
88 if (m_channelCount == 0) { 88 if (m_channelCount == 0) {
89 m_channelCount = m_fileInfo.channels; 89 m_channelCount = m_fileInfo.channels;