Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

淡入淡出进行时会无法设置音量 #767

Open
mokurin000 opened this issue Jan 16, 2024 · 0 comments
Open

淡入淡出进行时会无法设置音量 #767

mokurin000 opened this issue Jan 16, 2024 · 0 comments

Comments

@mokurin000
Copy link
Contributor

mokurin000 commented Jan 16, 2024

现定实现思路:
分离fade对音量的设置和外部对音量的设置
播放器最终使用音量为 ceil(rate*volume)

rate和音量的变更都会让播放器重新计算实际音量

这样音量和rate就不会被彼此修改

@mokurin000 mokurin000 changed the title 启用淡入淡出并快速多次点击进度条可能导致音量减小 启用淡入淡出并快速多次点击进度条可能导致音量设0 Jan 16, 2024
@mokurin000 mokurin000 changed the title 启用淡入淡出并快速多次点击进度条可能导致音量设0 淡入淡出进行时会无法设置音量 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant