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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user