Set the quality based on the given preset index. Uses the presets in the QUALITY_PRESETS table.
1 number presetID
the preset ID to set.