mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
SoundPlayer: Allow volume output of up to 150%
Previously the volume slider could go up to 150% but the real output volume stayed the same between 100% and 150%.
This commit is contained in:
parent
ea8c6e796f
commit
11a4fa6067
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void Player::set_loop_mode(LoopMode mode)
|
|||
|
||||
void Player::set_volume(double volume)
|
||||
{
|
||||
m_volume = clamp(volume, 0, 1.0);
|
||||
m_volume = clamp(volume, 0, 1.5);
|
||||
m_audio_client_connection.set_self_volume(m_volume);
|
||||
volume_changed(m_volume);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue