From: Guillaume L. <gla...@te...> - 2002-07-12 22:07:13
|
Rich, when computing the previews you do this : std::vector<float> values = aFM.getPreview(m_segment->getAudioFileID(), m_segment->getAudioStartTime(), m_segment->getAudioEndTime(), previewRect.width()); and then proceed to draw these values in the preview rect. The final parameter of getPreview() is the resolution. So my understanding is that the whole audio segment is displayed on the part of the item which is visible (rather than just the part corresponding to the time interval which the visible part of the item corresponds to), and this doesn't seem quite logical. -- Guillaume. http://www.telegraph-road.org |