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

使用BufferStreamPlayer暂停后会延迟一会才能暂停播放 #261

Open
suxuanning opened this issue Jan 14, 2025 · 2 comments
Open

Comments

@suxuanning
Copy link

使用BufferStreamPlayer暂停后会延迟一会才能暂停播放,有什么办法能让速度快一点,但不是清除或者停止Stream

@xiangyuecn
Copy link
Owner

是有这个现象,播放器代码写的比较简陋,暂停时没有清除已经写进AudioBufferSourceNode的几百毫秒数据,就会多播放几百毫秒

目前没啥好办法,只能让这几百毫秒播完,不然要大改源码

@suxuanning
Copy link
Author

是有这个现象,播放器代码写的比较简陋,暂停时没有清除已经写进AudioBufferSourceNode的几百毫秒数据,就会多播放几百毫秒

目前没啥好办法,只能让这几百毫秒播完,不然要大改源码

好吧,呢目前只能这样了

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