mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
clearer catastrophic error message, rather than assert()
This commit is contained in:
parent
07de1144c6
commit
bda2e9738f
1 changed files with 4 additions and 1 deletions
|
|
@ -359,7 +359,10 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||
*/
|
||||
disk_signal += roll_delay_offset;
|
||||
|
||||
assert (start_sample >= playback_sample);
|
||||
if (start_sample < playback_sample) {
|
||||
cerr << owner()->name() << " SS = " << start_sample << " PS = " << playback_sample << endl;
|
||||
abort ();
|
||||
}
|
||||
|
||||
if (start_sample != playback_sample) {
|
||||
cerr << owner()->name() << " playback not aligned, jump ahead " << (start_sample - playback_sample) << endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue