Merge: A little fix to android::audio
authorJean Privat <jean@pryen.org>
Thu, 30 Jul 2015 00:04:25 +0000 (20:04 -0400)
committerJean Privat <jean@pryen.org>
Thu, 30 Jul 2015 00:04:25 +0000 (20:04 -0400)
commit7dfb1958f475d1adc258d03b05ea144a8f93e7a7
tree30e2aeefd71aa91b23d7afeaa85bbfa9b4000464
parent424288bd34be887c3e297572e56ee4787e8c9576
parentf9d691d94a2ed6531797cb26eaa849de9b5633c6
Merge: A little fix to android::audio

As explained in PR #1587, there is a bit of a problem when making applications which runs on both linux and android about the loading of the sounds

This PR just reverse the order of the loading for the android audio API, so that if you want to use the sounds in the res folder for your android application, and the sounds in the assets folder for the linux application, you just have to create a new sound with its extension and it will work fine :)

Edit: It also enables the use of different sound formats between android and Linux

Pull-Request: #1592
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>