Fixed SDLActivity::audioInit return type, thanks Andreas!
authorGabriel Jacobo <gabomdq@gmail.com>
Tue, 08 Jan 2013 08:28:39 -0300
changeset 6805 ef2ef554b662
parent 6804 a91717ac8ff1
child 6806 9e57ff36fd7a
Fixed SDLActivity::audioInit return type, thanks Andreas!
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Mon Jan 07 07:39:46 2013 -0800
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Tue Jan 08 08:28:39 2013 -0300
@@ -353,7 +353,7 @@
     }
 
     // Audio
-    public static Object audioInit(int sampleRate, boolean is16Bit, boolean isStereo, int desiredFrames) {
+    public static void audioInit(int sampleRate, boolean is16Bit, boolean isStereo, int desiredFrames) {
         int channelConfig = isStereo ? AudioFormat.CHANNEL_CONFIGURATION_STEREO : AudioFormat.CHANNEL_CONFIGURATION_MONO;
         int audioFormat = is16Bit ? AudioFormat.ENCODING_PCM_16BIT : AudioFormat.ENCODING_PCM_8BIT;
         int frameSize = (isStereo ? 2 : 1) * (is16Bit ? 2 : 1);