mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
Amend prev. commit, actually remove (1.0 - x) as was documented
This commit is contained in:
parent
7ed37d67ff
commit
04fe6d6fb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue