Mercurial > hg > svcore
changeset 267:fa612dc181af
* Fix failure to play right to the end of files loaded from mp3 or ogg
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2007 13:49:30 +0000 |
parents | 2268963dabd1 |
children | 417a1a08aadf |
files | data/model/WaveFileModel.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp Fri Jun 08 15:19:50 2007 +0000 +++ b/data/model/WaveFileModel.cpp Thu Jun 14 13:49:30 2007 +0000 @@ -456,6 +456,9 @@ delete m_updateTimer; m_updateTimer = 0; m_mutex.unlock(); + if (getEndFrame() > m_lastFillExtent) { + emit modelChanged(m_lastFillExtent, getEndFrame()); + } emit modelChanged(); #ifdef DEBUG_WAVE_FILE_MODEL cerr << "WaveFileModel::cacheFilled" << endl;