1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

Bug 2578 - Linux/Windows: Export 24-bit AIFF exports as 16-bit

This commit is contained in:
Leland Lucius 2021-01-23 13:13:52 -06:00
parent 42a105ee0a
commit 37a7583306

View File

@ -180,6 +180,7 @@ ExportPCMOptions::ExportPCMOptions(wxWindow *parent, int selformat)
ExportPCMOptions::~ExportPCMOptions()
{
// Save the encoding
SaveOtherFormat(mType);
SaveEncoding(mType, sf_encoding_index_to_subtype(mEncodingIndexes[mEncodingFromChoice]));
}
@ -223,7 +224,6 @@ void ExportPCMOptions::OnShow(wxShowEvent & evt)
if (evt.IsShown())
{
SendSuffixEvent();
SaveEncoding(mType, sf_encoding_index_to_subtype(mEncodingIndexes[mEncodingFromChoice]));
}
}