Properly handle incomplete audio read
DiskReader::[do]refill() returns either 0, or -1 on error.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user