53ba75d587
Previously, the volume transformation to adapt the volume for logarithmic hearing has been performed in the VolumeControls Rust struct and TypeScript class each. Since this calculation is the same on desktop and web and should be implemented in the audio backend, it has been moved into the AudioMixer::mix_audio method. The VolumeControls struct and class now only calculate the linear volume out of the checkbox and the slider. Player::set_volume and Player::volume now don't take and return the adapted volume, but use the linear volume (which gets saved internally). |
||
---|---|---|
.. | ||
assets | ||
packages/macOS/Contents | ||
src | ||
Cargo.toml | ||
build.rs |