1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-03 14:13:11 +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() ExportPCMOptions::~ExportPCMOptions()
{ {
// Save the encoding // Save the encoding
SaveOtherFormat(mType);
SaveEncoding(mType, sf_encoding_index_to_subtype(mEncodingIndexes[mEncodingFromChoice])); SaveEncoding(mType, sf_encoding_index_to_subtype(mEncodingIndexes[mEncodingFromChoice]));
} }
@ -223,7 +224,6 @@ void ExportPCMOptions::OnShow(wxShowEvent & evt)
if (evt.IsShown()) if (evt.IsShown())
{ {
SendSuffixEvent(); SendSuffixEvent();
SaveEncoding(mType, sf_encoding_index_to_subtype(mEncodingIndexes[mEncodingFromChoice]));
} }
} }