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

你好,setPlaybackParameters(f,f) 没有效果. 打印的log一直都是1.0f #82

Closed
Limy1992 opened this issue Mar 11, 2018 · 9 comments

Comments

@Limy1992
Copy link

No description provided.

@yangchaojiang
Copy link
Owner

请问你是用版本??

@Limy1992
Copy link
Author

在调播放倍率的时候需要onPause一下,然后在onResume才有作用。刚解决。用的是最新版的2.1.35

@yangchaojiang
Copy link
Owner

2.1.37 版本

@Limy1992
Copy link
Author

谢谢

@Limy1992
Copy link
Author

你好,完整版的 -2.1.37直接setPlaybackParameters 还是没有效果

@yangchaojiang
Copy link
Owner

wodemo 已经效果,你的代码设置startplayer() 设置哦

@yangchaojiang
Copy link
Owner

没有问题了 把

@Limy1992
Copy link
Author

没有问题了, 参数2 pitch不用特意设置大于或者小于1.0f,, 否则声音会变。 只设置参数1 speed就好。声音的快慢会跟着同步。 我测得时候是这样的。 8.0手机。

@yangchaojiang
Copy link
Owner

倍数1是正常播放,默认是1
小于1,大于1,声音跟着的。不然画面和声音不同步

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

2 participants