Merge: Android: fix issues in the audio support
authorJean Privat <jean@pryen.org>
Fri, 12 Jan 2018 13:34:36 +0000 (08:34 -0500)
committerJean Privat <jean@pryen.org>
Fri, 12 Jan 2018 13:34:36 +0000 (08:34 -0500)
Refactor the loading of sounds and music to use the same logic and order, and to fix trying to load invalid resource ids (the errors on 0x00000000). Update the documentation to the currently recommended usage. And close the file descriptors after use/dup.

Pull-Request: #2598


Trivial merge