diff options
author | Niels Egberts <nielse@google.com> | 2015-11-20 14:47:31 +0000 |
---|---|---|
committer | Niels Egberts <nielse@google.com> | 2015-11-23 10:15:39 +0000 |
commit | a24b50bee1aca19028477b235862bcd2c37135ed (patch) | |
tree | c9ab12d1a1d1f7d99663202a3cdca6b840a31a19 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f1e520169309f1303d4383298dd5644df59efe4b (diff) |
Restrict audioformat to 8bit, 16bit or float PCM with an annotation and
a warning.
TextToSpeech.synthesizeToFile has only ever worked with 8bit and 16bit
PCM. In case of float PCM an invalid file would be generated and in case
of other encodings the TTS engine would crash.
Also add more annotations to SynthesisCallback.
Change-Id: I1c44a44509e9b53bb2e1b0f2044b1a5919875e1c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions