-
Notifications
You must be signed in to change notification settings - Fork 151
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
Interruptions if I play two files at the same time on android 6.0 #61
Comments
I just need to create another payer with same context |
Sorry, but this not helped. |
The part that mixes the audio streams together is implemented here using a A lot of times, interruptions are caused by the the speaker draining the streams quicker that they can supply data. I'm not sure if that is the case here. You could try changing the Some questions:
|
I meant rather wheezing instead of interrupts. Only wheezing. I tried to change the bufferSize of the speaker, but this not helped. If you have the opportunity to reproduce it on android lower version 7 you can understand what I'm talking about. |
Hi, sorry for not responding earlier, I was taking a break. Anyway, the code you provided will exit almost immediately after starting, because |
I omitted details and did not show all code. So, do you have the opportunity to reproduce it on android lower version 7? |
No, unfortunately, I do not have such a phone available :/ |
Tomorrow I'll try to reproduce it on android emulator and will write about the results. |
If I play files one by one there are no problemsю But I need play it together.
On mac os and android 7.0 and higher all ok
Maybe I should create issue here https://github.com/hajimehoshi/oto?
code Example:
https://gist.github.com/marinat/f1f14b61b8cdb070c0d1be14f06e93bd
The text was updated successfully, but these errors were encountered: