Skip to content

Conversation

@kirklandsign
Copy link
Contributor

@kirklandsign kirklandsign commented Oct 17, 2025

Summary

Some audio inputs are float[]

Test plan

CI

cc @cbilgin

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 17, 2025

🔗 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 Pending

As of commit 7dd5801 with merge base caa35f6 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 17, 2025
@kirklandsign kirklandsign marked this pull request as ready for review October 17, 2025 16:50
return static_cast<jint>(Error::EndOfMethod);
}
auto data_size = data->size();
if (data_size != 0) {
Copy link
Contributor

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

Copy link
Contributor Author

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.

@kirklandsign kirklandsign added module: android Issues related to Android code, build, and execution release notes: android Android Java and JNI code labels Oct 17, 2025
@kirklandsign kirklandsign merged commit df37d29 into main Oct 17, 2025
147 of 149 checks passed
@kirklandsign kirklandsign deleted the new-audio-api branch October 17, 2025 17:28
@github-project-automation github-project-automation bot moved this from Todo to Done in ExecuTorch Android Oct 17, 2025
@GregoryComer
Copy link
Member

@pytorchbot cherry-pick --onto release/1.0 -c critical

pytorchbot pushed a commit that referenced this pull request Oct 17, 2025
Some audio inputs are float[]

(cherry picked from commit df37d29)
@pytorchbot
Copy link
Collaborator

Cherry picking #15214

The 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 team Raised by workflow job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: android Issues related to Android code, build, and execution release notes: android Android Java and JNI code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants