MIN_VOLUME_MULTIPLIER = 0.33
This commit is contained in:
parent
eac0c6d8c7
commit
a78318dd07
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default defineComponent({
|
||||||
const audio = ref<HTMLAudioElement | null>(null);
|
const audio = ref<HTMLAudioElement | null>(null);
|
||||||
|
|
||||||
const MIN_SCALE = 0.02;
|
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_x = (1 - MIN_VOLUME_MULTIPLIER) / (1 - MIN_SCALE);
|
||||||
const vol_b = 1 - vol_x;
|
const vol_b = 1 - vol_x;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue