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

程序存储时间类型目前大量使用了 qint64,在播放器代码之外将类型改为 int #74

Open
BensonLaur opened this issue Feb 29, 2020 · 0 comments
Labels
idea Discussing new idea

Comments

@BensonLaur
Copy link
Member

BensonLaur commented Feb 29, 2020

int 类型最大值 2147483647,用来表示 ms 时, 所以歌曲假设长度达到最大数值,则对应得分钟数为 2147483647/60000=35 791.394116667 ,小时数约为 596,在正常情况下完全够用,所以可以 在播放器代码之外使用类型 int 代替类型 qint64

相关: #73
Patch for abedf35

@pzhlkj6612 pzhlkj6612 added the idea Discussing new idea label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Discussing new idea
Projects
None yet
Development

No branches or pull requests

2 participants