mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
Properly handle incomplete audio read
DiskReader::[do]refill() returns either 0, or -1 on error.
This commit is contained in:
parent
06593d1a79
commit
f40b64b0d5
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ Butler::thread_work ()
|
|||
case 0:
|
||||
//DEBUG_TRACE (DEBUG::Butler, string_compose ("\ttrack refill done %1\n", tr->name()));
|
||||
break;
|
||||
case 1:
|
||||
case -1:
|
||||
DEBUG_TRACE (DEBUG::Butler, string_compose ("\ttrack refill unfinished %1\n", tr->name ()));
|
||||
disk_work_outstanding = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue