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)
commit53161761380b1997ae901c1d53b232b4cb39c577
tree0b8bc848ccb8a3875a19068db50cc97a6e5ed7ce
parent88b16ba0afebddf0006b88a545831a337116347f
parent075ea2feaf5675f344f3839959cd739c1e5a7c90
Merge: Android: fix issues in the audio support

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