mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
Bug2538: Fix persistence of Sequence format in imported .aup ...
... which may be important if the user saved 16 bit for space efficiency. Don't lose that efficiency.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "../ProjectHistory.h"
|
||||
#include "../ProjectSelectionManager.h"
|
||||
#include "../ProjectSettings.h"
|
||||
#include "../Sequence.h"
|
||||
#include "../Tags.h"
|
||||
#include "../TimeTrack.h"
|
||||
#include "../ViewInfo.h"
|
||||
@@ -1119,6 +1120,7 @@ bool AUPImportFileHandle::HandleSequence(XMLTagHandler *&handler)
|
||||
}
|
||||
|
||||
mFormat = (sampleFormat) fValue;
|
||||
waveclip->GetSequence()->ConvertToSampleFormat( mFormat );
|
||||
}
|
||||
else if (!wxStrcmp(attr, wxT("numsamples")))
|
||||
{
|
||||
|
Reference in New Issue
Block a user