fix(volume): mute when volume is too low #753
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
close #732
应该和
value / 100
的精度有关,setVolume 的用处在桌面端,所以让移动端不在初始化的时候设置音量解决这个问题,移动端一直用的系统音量,不手动设置也没啥关系。可惜 ohos 只允许调节播放器音量不能调节系统音量,永远无法与其他平台同步了