mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
Merge branch 'master' of https://github.com/espeak-ng/espeak-ng
This commit is contained in:
@@ -29,6 +29,10 @@ local.properties
|
||||
|
||||
# android gradle output:
|
||||
|
||||
gradle/
|
||||
gradlew
|
||||
gradlew.bat
|
||||
|
||||
.gradle/
|
||||
.idea/
|
||||
build/
|
||||
|
||||
@@ -51,7 +51,7 @@ public class CheckVoiceData extends Activity {
|
||||
};
|
||||
|
||||
public static File getDataPath(Context context) {
|
||||
return new File(context.getDir("voices", MODE_PRIVATE), "espeak-data");
|
||||
return new File(context.getDir("voices", MODE_PRIVATE), "espeak-ng-data");
|
||||
}
|
||||
|
||||
public static boolean hasBaseResources(Context context) {
|
||||
|
||||
@@ -153,7 +153,7 @@ public class DownloadVoiceData extends Activity {
|
||||
}
|
||||
|
||||
final String version = FileUtils.read(mContext.getResources().openRawResource(R.raw.espeakdata_version));
|
||||
final File outputFile = new File(mOutput, "espeak-data/version");
|
||||
final File outputFile = new File(mOutput, "espeak-ng-data/version");
|
||||
|
||||
FileUtils.write(outputFile, version);
|
||||
return RESULT_OK;
|
||||
|
||||
Reference in New Issue
Block a user