diff options
author | Robin Gareus <robin@gareus.org> | 2018-11-20 03:21:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-11-20 03:21:17 +0100 |
commit | 7b709b3cea2fd873a5f64be6f598e3741c259ca5 (patch) | |
tree | f89fda4880ad67540935a879d3f250dd958bb32b /libs/ardour/export_formats.cc | |
parent | cdc5b88c91541f70de57c196570e12ee05a14af9 (diff) |
Implement vorbis encoder quality
This also prepares for codec-quality defaults, but
ExportFormatSpecification does not yet set those for previously unset
or new formats/presets.
Diffstat (limited to 'libs/ardour/export_formats.cc')
-rw-r--r-- | libs/ardour/export_formats.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/export_formats.cc b/libs/ardour/export_formats.cc index 2539502f92..718dcd81c6 100644 --- a/libs/ardour/export_formats.cc +++ b/libs/ardour/export_formats.cc @@ -275,6 +275,12 @@ ExportFormatOggVorbis::ExportFormatOggVorbis () add_sample_rate (SR_192); add_sample_rate (SR_Session); + /* these are 100 vorbis_encode_init_vbr() quality */ + add_codec_quality ("Low (0)", 0); + add_codec_quality ("Default (4)", 40); + add_codec_quality ("High (6)", 60); + add_codec_quality ("Very High (10)", 100); + add_endianness (E_FileDefault); set_extension ("ogg"); |