Mercurial > hg > svcore
comparison data/model/WaveFileModel.cpp @ 752:c9fc7728ab0d
Avoid uninitialised values
author | Chris Cannam |
---|---|
date | Fri, 16 Nov 2012 17:13:47 +0000 |
parents | 1424aa29ae95 |
children | 33fca917c800 |
comparison
equal
deleted
inserted
replaced
751:8b79ad680ee7 | 752:c9fc7728ab0d |
---|---|
44 m_myReader(true), | 44 m_myReader(true), |
45 m_startFrame(0), | 45 m_startFrame(0), |
46 m_fillThread(0), | 46 m_fillThread(0), |
47 m_updateTimer(0), | 47 m_updateTimer(0), |
48 m_lastFillExtent(0), | 48 m_lastFillExtent(0), |
49 m_exiting(false) | 49 m_exiting(false), |
50 m_lastDirectReadStart(0), | |
51 m_lastDirectReadCount(0) | |
50 { | 52 { |
51 m_source.waitForData(); | 53 m_source.waitForData(); |
52 if (m_source.isOK()) { | 54 if (m_source.isOK()) { |
53 m_reader = AudioFileReaderFactory::createThreadingReader | 55 m_reader = AudioFileReaderFactory::createThreadingReader |
54 (m_source, targetRate); | 56 (m_source, targetRate); |