src/core/android/SDL_android.h
changeset 6654 2ecfb25be1e2
parent 6642 b716011e53ce
child 6792 a15821a3471f
equal deleted inserted replaced
6653:b73f8ee5f033 6654:2ecfb25be1e2
    32 /* Interface from the SDL library into the Android Java activity */
    32 /* Interface from the SDL library into the Android Java activity */
    33 extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion);
    33 extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion);
    34 extern void Android_JNI_SwapWindow();
    34 extern void Android_JNI_SwapWindow();
    35 extern void Android_JNI_SetActivityTitle(const char *title);
    35 extern void Android_JNI_SetActivityTitle(const char *title);
    36 extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);
    36 extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);
    37 extern int Android_JNI_ShowTextInput(SDL_Rect *inputRect);
    37 extern void Android_JNI_ShowTextInput(SDL_Rect *inputRect);
       
    38 extern void Android_JNI_HideTextInput();
    38 
    39 
    39 // Audio support
    40 // Audio support
    40 extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
    41 extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
    41 extern void* Android_JNI_GetAudioBuffer();
    42 extern void* Android_JNI_GetAudioBuffer();
    42 extern void Android_JNI_WriteAudioBuffer();
    43 extern void Android_JNI_WriteAudioBuffer();