We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
YesPlayMusic的歌词比歌曲慢大约300ms,之前看到说是歌词慢了,但我又检查了很多次,原因应该是出在播放器。 Hint:播放页的歌曲总时长比实际歌曲长度少300s
The text was updated successfully, but these errors were encountered:
没有感受出来慢了300ms,获取歌曲正在播放进度是每秒去howler获取一次的,设置成每秒一次是为了节省性能,歌词会每50ms就检查一次是否换行。
参考src/utils/Player.js 的 _setIntervals() src/views/lyrics.vue 的 setLyricsInterval()
src/utils/Player.js
_setIntervals()
src/views/lyrics.vue
setLyricsInterval()
Sorry, something went wrong.
播放页的歌曲总长是通过播放模块获取的吗? 我怀疑可能是这个原因
No branches or pull requests
YesPlayMusic的歌词比歌曲慢大约300ms,之前看到说是歌词慢了,但我又检查了很多次,原因应该是出在播放器。
Hint:播放页的歌曲总时长比实际歌曲长度少300s
The text was updated successfully, but these errors were encountered: