From: Robin Gareus Date: Thu, 22 Nov 2018 20:05:03 +0000 (+0100) Subject: Amend prev. commit, actually remove (1.0 - x) as was documented X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=commitdiff_plain;h=04fe6d6fb4477271dc612afeb5fa7ed8b83509aa Amend prev. commit, actually remove (1.0 - x) as was documented --- 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_ptrcodec_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)); }