projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed37d6
)
Amend prev. commit, actually remove (1.0 - x) as was documented
author
Robin Gareus
<robin@gareus.org>
Thu, 22 Nov 2018 20:05:03 +0000
(21:05 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 22 Nov 2018 20:05:03 +0000
(21:05 +0100)
libs/ardour/export_graph_builder.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/export_graph_builder.cc
b/libs/ardour/export_graph_builder.cc
index dad0f47219ef9e227f3a6948792abde9f04565bd..b42584578697d4a6a69de281b8e504df5f989516 100644
(file)
--- 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));
}