-
Notifications
You must be signed in to change notification settings - Fork 572
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
Crash when setFramesPerCallback(#frames)
is used for input stream
#778
Comments
Thank you! I was able to reproduce this on master using OboeTester on Pixel 3a:
Internal bug tracker at: 149249791 We should be able to add a workaround by using a BlockSizeAdapter in Oboe. |
We hit this problem when we tried to start input stream. Any update on this issue? We would appreciate a workaround. |
I'll work on this next week. |
Few high priority issues were identified for this release v1.5. Any idea when this release can be expected? Rough idea about the release will help us plan our work. |
09-14 16:48:08.434 9495 9495 F DEBUG : Abort message: 'maybeConvertDeviceData() conversion size 128 too large for buffer 64' |
This is tracked internally in |
On Nokia 5.1 Plus (Android 10), we still experience the same crash. This is what we did:
Crashes with
It crashes irrespective of the callback size. If we set 512, the error reads Device details:
If you want us to check anything specific, please let us know. |
Got the latest from master which has this change. Tried the scenario I mentioned in the previous message. It crashed as before. However, I realize that I didn't check "enable Oboe workarounds" before. With workarounds enabled, there is no crash and input works fine on the same device (Nokia 5.1 plus). I guess that's the reason this issue is closed which makes sense. Thank you. |
The TODO said they were hanging. But I think that was caused by a native crash in AAudio related to callback size. See #778
The TODO said they were hanging. But I think that was caused by a native crash in AAudio related to callback size. See #778
Android Version(s): 9
Android Device(s): several
Oboe Version: latest
Short Description
I develop an app which operates with constantly sized buffer of frames. So I set the number of frames per callback with
builder.setFramesPerCallback(256)
but the aaudio backend crashes in this case.Steps To Reproduce
Set the number of frames per callback using
builder.setFramesPerCallback(N_of_frames)
.Expected behavior
Normal operating.
Actual behavior
SIGABRT with:
Additional context
Also I sets channels count to 1 (mono) if it matter.
The text was updated successfully, but these errors were encountered: