Permalink
Browse files

Amend prev. commit, actually remove (1.0 - x) as was documented

  • Loading branch information...
x42 committed Nov 22, 2018
1 parent 7ed37d6 commit 04fe6d6fb4477271dc612afeb5fa7ed8b83509aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));
}

0 comments on commit 04fe6d6

Please sign in to comment.