ruffle/desktop
Kornelius Rohrschneider 53ba75d587 Move logarithmic volume transformation to AudioMixer
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).
2023-09-07 00:51:58 +02:00
..
assets desktop: Add desktop volume controls 2023-09-07 00:51:58 +02:00
packages/macOS/Contents Update Info.plist 2022-12-04 13:54:54 +01:00
src Move logarithmic volume transformation to AudioMixer 2023-09-07 00:51:58 +02:00
Cargo.toml fix(deps): update rust dependencies 2023-09-04 10:25:24 +02:00
build.rs Formatting 2023-06-27 21:37:28 +03:00