mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
This should fix r11279 build problems on Linux.
This commit is contained in:
@@ -848,8 +848,8 @@ void Sequence::HandleXMLEndTag(const wxChar *tag)
|
|||||||
// the silent replacement to mMaxSamples.
|
// the silent replacement to mMaxSamples.
|
||||||
wxLogWarning(
|
wxLogWarning(
|
||||||
wxT(" Sequence has missing block file with length %s > mMaxSamples %s. Setting length to mMaxSamples."),
|
wxT(" Sequence has missing block file with length %s > mMaxSamples %s. Setting length to mMaxSamples."),
|
||||||
Internat::ToString(((wxLongLong)len).ToDouble(), 0),
|
Internat::ToString(((wxLongLong)len).ToDouble(), 0).c_str(),
|
||||||
Internat::ToString(((wxLongLong)mMaxSamples).ToDouble(), 0));
|
Internat::ToString(((wxLongLong)mMaxSamples).ToDouble(), 0).c_str());
|
||||||
len = mMaxSamples;
|
len = mMaxSamples;
|
||||||
}
|
}
|
||||||
mBlock->Item(b)->f = new SilentBlockFile(len);
|
mBlock->Item(b)->f = new SilentBlockFile(len);
|
||||||
@@ -870,9 +870,9 @@ void Sequence::HandleXMLEndTag(const wxChar *tag)
|
|||||||
sFileAndExtension = wxT("\"") + sFileAndExtension + wxT("\"");
|
sFileAndExtension = wxT("\"") + sFileAndExtension + wxT("\"");
|
||||||
wxLogWarning(
|
wxLogWarning(
|
||||||
wxT("Gap detected in project file.\n Start (%s) for block file %s is more than one sample past end of previous block (%s).\n Moving start back so blocks are contiguous."),
|
wxT("Gap detected in project file.\n Start (%s) for block file %s is more than one sample past end of previous block (%s).\n Moving start back so blocks are contiguous."),
|
||||||
Internat::ToString(((wxLongLong)(mBlock->Item(b)->start)).ToDouble(), 0),
|
Internat::ToString(((wxLongLong)(mBlock->Item(b)->start)).ToDouble(), 0).c_str(),
|
||||||
sFileAndExtension,
|
sFileAndExtension,
|
||||||
Internat::ToString(((wxLongLong)(numSamples)).ToDouble(), 0));
|
Internat::ToString(((wxLongLong)(numSamples)).ToDouble(), 0).c_str());
|
||||||
mBlock->Item(b)->start = numSamples;
|
mBlock->Item(b)->start = numSamples;
|
||||||
mErrorOpening = true;
|
mErrorOpening = true;
|
||||||
}
|
}
|
||||||
@@ -881,8 +881,8 @@ void Sequence::HandleXMLEndTag(const wxChar *tag)
|
|||||||
if (mNumSamples != numSamples) {
|
if (mNumSamples != numSamples) {
|
||||||
wxLogWarning(
|
wxLogWarning(
|
||||||
wxT("Gap detected in project file. Correcting sequence sample count from %s to %s."),
|
wxT("Gap detected in project file. Correcting sequence sample count from %s to %s."),
|
||||||
Internat::ToString(((wxLongLong)mNumSamples).ToDouble(), 0),
|
Internat::ToString(((wxLongLong)mNumSamples).ToDouble(), 0).c_str(),
|
||||||
Internat::ToString(((wxLongLong)numSamples).ToDouble(), 0));
|
Internat::ToString(((wxLongLong)numSamples).ToDouble(), 0).c_str());
|
||||||
mNumSamples = numSamples;
|
mNumSamples = numSamples;
|
||||||
mErrorOpening = true;
|
mErrorOpening = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user