mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
AUP3: Better orphan block handling
This replaces my previous attempt since it didn't account for all the situations where orphans blocks could occur.
This commit is contained in:
@@ -186,11 +186,6 @@ SampleBlockPtr SqliteSampleBlockFactory::DoCreateFromXML(
|
||||
{
|
||||
// This may throw
|
||||
sb->Load((SampleBlockID) nValue);
|
||||
|
||||
// Tell the IO manager the blockid we just loaded so it can track
|
||||
// the highest one encountered.
|
||||
mpIO->LoadedBlock(nValue);
|
||||
|
||||
found++;
|
||||
}
|
||||
else if (wxStrcmp(attr, wxT("samplecount")) == 0)
|
||||
|
||||
Reference in New Issue
Block a user