mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Bug 1218 - "Other uncompressed files": AIFF defaults to 8-bit export.
This commit is contained in:
parent
911a57d451
commit
1c03eee052
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user