another change from ReaderLock to WriterLock in audio source peak reading

The rationale is as for f06d04c174
This commit is contained in:
Paul Davis 2022-04-25 20:33:21 -06:00
parent f06d04c174
commit 6f5d3d8dd9

View file

@ -335,7 +335,7 @@ int
AudioSource::read_peaks_with_fpp (PeakData *peaks, samplecnt_t npeaks, samplepos_t start, samplecnt_t cnt,
double samples_per_visual_peak, samplecnt_t samples_per_file_peak) const
{
ReaderLock lm (_lock);
WriterLock lm (_lock);
#if 0 // DEBUG ONLY
/* Bypass peak-file cache, compute peaks using raw data from source */