mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
diskreader: avoid double conditional, use else{} instead
This commit is contained in:
parent
5ebe78ad2d
commit
0cec44ca4b
1 changed files with 2 additions and 2 deletions
|
|
@ -1015,9 +1015,9 @@ DiskReader::audio_read (Sample* sum_buffer,
|
|||
const Evoral::Range<samplepos_t> loop_range (loop_start, loop_end - 1);
|
||||
start = loop_range.squish (start);
|
||||
}
|
||||
}
|
||||
|
||||
if (reversed) {
|
||||
} else {
|
||||
|
||||
start -= cnt;
|
||||
start = max (samplepos_t (0), start);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue