diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-20 23:12:19 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-06-20 23:12:19 -0400 |
commit | 68779e0c0a89dab028dbc9662278c8ee0be13c84 (patch) | |
tree | 1fa297b082f252368ab683eed1eb11f26053dc01 /libs/ardour/audiosource.cc | |
parent | 594a8c122141094a5f03ab9d2faa9b9cc18eeae0 (diff) |
(working) start of an experiment with pyramix-style waveform drawing
Diffstat (limited to 'libs/ardour/audiosource.cc')
-rw-r--r-- | libs/ardour/audiosource.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index 767ea1f9a8..737a206c74 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -342,14 +342,14 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t /* fix for near-end-of-file conditions */ if (cnt > _length - start) { - cerr << "too close to end @ " << _length << " given " << start << " + " << cnt << " (" << _length - start << ")" << endl; + // cerr << "too close to end @ " << _length << " given " << start << " + " << cnt << " (" << _length - start << ")" << endl; cnt = _length - start; framecnt_t old = npeaks; npeaks = min ((framecnt_t) floor (cnt / samples_per_visual_peak), npeaks); zero_fill = old - npeaks; } - cerr << "actual npeaks = " << npeaks << " zf = " << zero_fill << endl; + // cerr << "actual npeaks = " << npeaks << " zf = " << zero_fill << endl; if (npeaks == cnt) { |