| Summary: | [patch] Fix android build with disabled audio subsystem | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jonas Kulla <ancurio_bugzilla> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq, icculus |
| Version: | HG 2.1 | Keywords: | triage-2.0.4 |
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: | patch | ||
Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though! This patch is now http://hg.libsdl.org/SDL/rev/b452e37e26d9, thanks! --ryan. |
Created attachment 1950 [details] patch src/video/android/SDL_androidevents.c declares and uses audio subsystem functions (AndroidAUD_ResumeDevices, AndroidAUD_PauseDevices) that are not compiled in when the audio subsystem is disabled during configure. Check for that case and define the functions as noops instead. Not sure if you'd rather prefer to have every function call ifdef-d out instead, but I think using stubs is less invasive.