mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
🐞 fix: 修复网页端和快捷键无法调整音量的问题
This commit is contained in:
@@ -802,6 +802,8 @@ class AudioService {
|
||||
// 立即设置音量
|
||||
this.gainNode.gain.cancelScheduledValues(this.context!.currentTime);
|
||||
this.gainNode.gain.setValueAtTime(linearVolume, this.context!.currentTime);
|
||||
} else {
|
||||
this.currentSound?.volume(linearVolume);
|
||||
}
|
||||
|
||||
// 保存值
|
||||
|
||||
Reference in New Issue
Block a user