Skip to content

Commit

Permalink
Default to FLAC compression level 5 (#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
husamalhomsi authored Sep 15, 2021
1 parent 770d249 commit e304457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/OutputSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class OutputSettings
m_bitRateSettings(bitRateSettings),
m_bitDepth(bitDepth),
m_stereoMode(stereoMode),
m_compressionLevel(0.5)
m_compressionLevel(0.625) // 5/8
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/gui/ExportProjectDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ExportProjectDialog::ExportProjectDialog( const QString & _file_name,
QVariant(i/static_cast<double>(MAX_LEVEL))
);
}
compLevelCB->setCurrentIndex(MAX_LEVEL/2);
compLevelCB->setCurrentIndex(5);
#ifndef LMMS_HAVE_SF_COMPLEVEL
// Disable this widget; the setting would be ignored by the renderer.
compressionWidget->setVisible(false);
Expand Down

0 comments on commit e304457

Please sign in to comment.