Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16cf9220 authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

Merge "Expand buffer in SynthProxy to hold int"

parents ee3d494b 1ead4f0f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -551,7 +551,7 @@ android_tts_SynthProxy_setSpeechRate(JNIEnv *env, jobject thiz, jint jniData,
        return result;
        return result;
    }
    }


    int bufSize = 10;
    int bufSize = 12;
    char buffer [bufSize];
    char buffer [bufSize];
    sprintf(buffer, "%d", speechRate);
    sprintf(buffer, "%d", speechRate);


@@ -581,7 +581,7 @@ android_tts_SynthProxy_setPitch(JNIEnv *env, jobject thiz, jint jniData,


    Mutex::Autolock l(engineMutex);
    Mutex::Autolock l(engineMutex);


    int bufSize = 10;
    int bufSize = 12;
    char buffer [bufSize];
    char buffer [bufSize];
    sprintf(buffer, "%d", pitch);
    sprintf(buffer, "%d", pitch);