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 4091 - Undefined references to Android audio functions when SDL_AUDIO_DISABLED is on
Summary: Undefined references to Android audio functions when SDL_AUDIO_DISABLED is on
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.1
Hardware: All Android (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 19:18 UTC by Manuel Sabogal
Modified: 2018-02-24 16:58 UTC (History)
0 users

See Also:


Attachments
Fix patch (995 bytes, text/plain)
2018-02-22 19:18 UTC, Manuel Sabogal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Sabogal 2018-02-22 19:18:40 UTC
Created attachment 3179 [details]
Fix patch

If SDL is compiled with the Audio subsystem disabled there are some undefined references to the functions ANDROIDAUDIO_ResumeDevices and ANDROIDAUDIO_PauseDevices in the file src/video/android/SDL_androidevents.c.

I attached a patch with a fix for this issue
Comment 1 Sam Lantinga 2018-02-24 16:58:39 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/0a7f9aec16a6