diff options
author | Robin Gareus <robin@gareus.org> | 2018-11-22 21:05:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-11-22 21:05:03 +0100 |
commit | 04fe6d6fb4477271dc612afeb5fa7ed8b83509aa (patch) | |
tree | 90409c8b30dd3a6b3d53d7475701f56d43304dc0 /libs | |
parent | 7ed37d67ff7aa83b5f12dc6fcef73b28a97de1b3 (diff) |
Amend prev. commit, actually remove (1.0 - x) as was documented
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/export_graph_builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_graph_builder.cc b/libs/ardour/export_graph_builder.cc index dad0f47219..b425845786 100644 --- a/libs/ardour/export_graph_builder.cc +++ b/libs/ardour/export_graph_builder.cc @@ -311,7 +311,7 @@ ExportGraphBuilder::Encoder::init_writer (boost::shared_ptr<AudioGrapher::Sndfil * SFC_SET_VBR_ENCODING_QUALITY and maps * SFC_SET_COMPRESSION_LEVEL = 1.0 - VBR_ENCODING_QUALITY */ - double vorbis_quality = 1.0 - config.format->codec_quality () / 100.f; + double vorbis_quality = config.format->codec_quality () / 100.f; if (vorbis_quality >= 0 && vorbis_quality <= 1.0) { writer->command (SFC_SET_VBR_ENCODING_QUALITY, &vorbis_quality, sizeof (double)); } |