Improve peak-file debug output, print affected source-name
This commit is contained in:
parent
475063c24d
commit
478338854d
|
@ -663,7 +663,9 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, samplecnt_t npeaks, samplepos
|
|||
}
|
||||
|
||||
if (zero_fill) {
|
||||
cerr << "Zero fill end of peaks (@ " << read_npeaks << " with " << zero_fill << ")" << endl;
|
||||
#ifndef NDEBUG
|
||||
cerr << "Zero fill '" << _name << "' end of peaks (@ " << read_npeaks << " with " << zero_fill << ")" << endl;
|
||||
#endif
|
||||
memset (&peak_cache[read_npeaks], 0, sizeof (PeakData) * zero_fill);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user