mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Bug 1218 - "Other uncompressed files": AIFF defaults to 8-bit export.
This commit is contained in:
@@ -228,6 +228,10 @@ bool ExportPCMOptions::TransferDataFromWindow()
|
||||
void ExportPCMOptions::OnHeaderChoice(wxCommandEvent & WXUNUSED(evt))
|
||||
{
|
||||
int format = sf_header_index_to_type(mHeaderChoice->GetSelection());
|
||||
// Fix for Bug 1218 - AIFF with no option should default to 16 bit.
|
||||
if( format == SF_FORMAT_AIFF )
|
||||
format = SF_FORMAT_AIFF | SF_FORMAT_PCM_16;
|
||||
|
||||
mEncodingNames.Clear();
|
||||
mEncodingChoice->Clear();
|
||||
mEncodingFormats.Clear();
|
||||
|
Reference in New Issue
Block a user