mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 19:37:45 +01:00
another change from ReaderLock to WriterLock in audio source peak reading
The rationale is as for f06d04c174
This commit is contained in:
parent
f06d04c174
commit
6f5d3d8dd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue