MIN_VOLUME_MULTIPLIER = 0.33

master
Tomáš Mládek 2021-01-11 20:56:44 +01:00
parent eac0c6d8c7
commit a78318dd07
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export default defineComponent({
const audio = ref<HTMLAudioElement | null>(null);
const MIN_SCALE = 0.02;
const MIN_VOLUME_MULTIPLIER = 0.25;
const MIN_VOLUME_MULTIPLIER = 0.33;
const vol_x = (1 - MIN_VOLUME_MULTIPLIER) / (1 - MIN_SCALE);
const vol_b = 1 - vol_x;