mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +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:
parent
a093f5b2cf
commit
d5a4ed74d2
@ -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")))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user