src/core/android/SDL_android.h
changeset 10280 985f92b2f8e9
parent 9998 f67cf37e9cd4
child 10672 10fb0ebc4fbf
     1.1 --- a/src/core/android/SDL_android.h	Wed Aug 10 16:00:16 2016 -0400
     1.2 +++ b/src/core/android/SDL_android.h	Thu Aug 11 22:04:49 2016 -0400
     1.3 @@ -40,10 +40,12 @@
     1.4  extern ANativeWindow* Android_JNI_GetNativeWindow(void);
     1.5  
     1.6  /* Audio support */
     1.7 -extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
     1.8 +extern int Android_JNI_OpenAudioDevice(int iscapture, int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
     1.9  extern void* Android_JNI_GetAudioBuffer(void);
    1.10  extern void Android_JNI_WriteAudioBuffer(void);
    1.11 -extern void Android_JNI_CloseAudioDevice(void);
    1.12 +extern int Android_JNI_CaptureAudioBuffer(void *buffer, int buflen);
    1.13 +extern void Android_JNI_FlushCapturedAudio(void);
    1.14 +extern void Android_JNI_CloseAudioDevice(const int iscapture);
    1.15  
    1.16  #include "SDL_rwops.h"
    1.17