src/core/android/SDL_android.h
changeset 5582 1281a3f1f0a6
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
5581:f40f9d3ca2bc 5582:1281a3f1f0a6
    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();
    40 extern void Android_JNI_CloseAudioDevice();
    40 extern void Android_JNI_CloseAudioDevice();
    41 
    41 
       
    42 #include "SDL_rwops.h"
       
    43 
       
    44 int Android_JNI_FileOpen(SDL_RWops* ctx, const char* fileName, const char* mode);
       
    45 long Android_JNI_FileSeek(SDL_RWops* ctx, long offset, int whence);
       
    46 size_t Android_JNI_FileRead(SDL_RWops* ctx, void* buffer, size_t size, size_t maxnum);
       
    47 size_t Android_JNI_FileWrite(SDL_RWops* ctx, const void* buffer, size_t size, size_t num);
       
    48 int Android_JNI_FileClose(SDL_RWops* ctx);
       
    49 
    42 /* Ends C function definitions when using C++ */
    50 /* Ends C function definitions when using C++ */
    43 #ifdef __cplusplus
    51 #ifdef __cplusplus
    44 /* *INDENT-OFF* */
    52 /* *INDENT-OFF* */
    45 }
    53 }
    46 /* *INDENT-ON* */
    54 /* *INDENT-ON* */