mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
Fix format specifier
This commit is contained in:
parent
33b573685f
commit
445dd81b29
@ -1123,7 +1123,7 @@ bool Sequence::Read(samplePtr buffer, sampleFormat format,
|
|||||||
|
|
||||||
if (result != len)
|
if (result != len)
|
||||||
{
|
{
|
||||||
wxLogWarning(wxT("Expected to read %d samples, got %d samples."), len, result);
|
wxLogWarning(wxT("Expected to read %ld samples, got %d samples."), len, result);
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
result = 0;
|
result = 0;
|
||||||
ClearSamples(buffer, format, result, len-result);
|
ClearSamples(buffer, format, result, len-result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user