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

初始化_streamer的时候设置currentTime值无效 #102

Open
duxinfeng opened this issue Jan 2, 2016 · 2 comments
Open

初始化_streamer的时候设置currentTime值无效 #102

duxinfeng opened this issue Jan 2, 2016 · 2 comments

Comments

@duxinfeng
Copy link

Hi, 我初始化_streamer的时候去设置currentTime值为10.56,但是打印_streamer.currentTime依然为0.
我该如何处理,谢谢。

_streamer = [DOUAudioStreamer streamerWithAudioFile:track];
_streamer.currentTime = 10.56;
[_streamer play];

NSLog(@"--->%f",_streamer.currentTime);

@syxiaqj
Copy link

syxiaqj commented May 18, 2016

确实,第一次设置currentTime的时候确实不起作用

@johnlui
Copy link

johnlui commented Jul 1, 2016

要在 kStatusKVOKey 的 Playing 触发之后调整 currentTime 才可以。

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

3 participants