src/core/android/SDL_android.h
changeset 6212 78d854de3a66
parent 6138 4c64952a58fb
child 6354 17840f487124
equal deleted inserted replaced
6211:b0b81f18bf35 6212:78d854de3a66
    29 
    29 
    30 /* Interface from the SDL library into the Android Java activity */
    30 /* Interface from the SDL library into the Android Java activity */
    31 extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion);
    31 extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion);
    32 extern void Android_JNI_SwapWindow();
    32 extern void Android_JNI_SwapWindow();
    33 extern void Android_JNI_SetActivityTitle(const char *title);
    33 extern void Android_JNI_SetActivityTitle(const char *title);
    34 extern void Android_JNI_GetAccelerometerValues(float values[3]);
    34 extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);
    35 
    35 
    36 // Audio support
    36 // Audio support
    37 extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
    37 extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);
    38 extern void* Android_JNI_GetAudioBuffer();
    38 extern void* Android_JNI_GetAudioBuffer();
    39 extern void Android_JNI_WriteAudioBuffer();
    39 extern void Android_JNI_WriteAudioBuffer();