-
Notifications
You must be signed in to change notification settings - Fork 722
audio float API #15214
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
audio float API #15214
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15214
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 6 PendingAs of commit 7dd5801 with merge base caa35f6 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
| return static_cast<jint>(Error::EndOfMethod); | ||
| } | ||
| auto data_size = data->size(); | ||
| if (data_size != 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this condition ' if (data_size == 0) {' also considered ok / success in this flow ? We seem to return ok at Ln 362
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. We can add a check in java. I just don't want it crash here.
|
@pytorchbot cherry-pick --onto release/1.0 -c critical |
Some audio inputs are float[] (cherry picked from commit df37d29)
Cherry picking #15214The cherry pick PR is at #15234 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Summary
Some audio inputs are float[]
Test plan
CI
cc @cbilgin