Removed unused variables from C source files.
This commit is contained in:
parent
a4432d3cdf
commit
f19e013294
2 changed files with 1 additions and 4 deletions
|
@ -38,8 +38,7 @@ static int
|
|||
AndroidAUD_OpenDevice(_THIS, const char *devname, int iscapture)
|
||||
{
|
||||
SDL_AudioFormat test_format;
|
||||
int valid_datatype = 0;
|
||||
|
||||
|
||||
if (iscapture) {
|
||||
//TODO: implement capture
|
||||
return SDL_SetError("Capture not supported on Android");
|
||||
|
|
|
@ -422,7 +422,6 @@ extern "C" int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int chan
|
|||
{
|
||||
int audioBufferFrames;
|
||||
|
||||
int status;
|
||||
JNIEnv *env = Android_JNI_GetEnv();
|
||||
|
||||
if (!env) {
|
||||
|
@ -496,7 +495,6 @@ extern "C" void Android_JNI_WriteAudioBuffer()
|
|||
|
||||
extern "C" void Android_JNI_CloseAudioDevice()
|
||||
{
|
||||
int status;
|
||||
JNIEnv *env = Android_JNI_GetEnv();
|
||||
|
||||
env->CallStaticVoidMethod(mActivityClass, midAudioQuit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue