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