mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 00:03:52 +02:00
Update Sequence.cpp
Fix crash on Linux when recovering project where samples read do not match expected number of samples.
This commit is contained in:
@@ -1140,7 +1140,7 @@ bool Sequence::Read(samplePtr buffer, sampleFormat format,
|
||||
|
||||
if (result != len)
|
||||
{
|
||||
wxLogWarning(wxT("Expected to read %ld samples, got %d samples."),
|
||||
wxLogWarning(wxT("Expected to read %ld samples, got %ld samples."),
|
||||
len, result);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user