We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1703 - SDL calls a wrong JNI function on Android.
Summary: SDL calls a wrong JNI function on Android.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.0
Hardware: All Android (All)
: P2 major
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 09:26 UTC by Philipp Wiesemann
Modified: 2013-02-12 09:00 UTC (History)
1 user (show)

See Also:


Attachments
Patch for SDL calling a wrong JNI function on Android. (1.04 KB, patch)
2013-01-26 09:26 UTC, Philipp Wiesemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Wiesemann 2013-01-26 09:26:15 UTC
Created attachment 1028 [details]
Patch for SDL calling a wrong JNI function on Android.

Hello,

SDL calls a wrong JNI function on Android. "CallStaticObjectMethod" is used instead of "CallStaticVoidMethod" for "audioInit" which returns no "Object".

This seems not to matter on all devices but I think it should be fixed.

I attached a related patch.
Comment 1 Gabriel Jacobo 2013-02-12 09:00:28 UTC
Thanks! http://hg.libsdl.org/SDL/rev/97187387ad79