1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-04 18:53:24 +01:00

Bug 2055 - ENH: Export2 does not export by default

This commit is contained in:
Leland Lucius
2020-04-13 20:15:47 -05:00
parent 610bfbae68
commit 209bee3c92

View File

@@ -516,6 +516,12 @@ ProgressResult ExportPCM::Export(AudacityProject *project,
sf_format |= LoadEncoding(sf_format);
}
// If subtype is still not specified, supply a default.
if (!(sf_format & SF_FORMAT_SUBMASK))
{
sf_format |= SF_FORMAT_FLOAT;
}
int fileFormat = sf_format & SF_FORMAT_TYPEMASK;
auto updateResult = ProgressResult::Success;