IT. Expert System.

Android Reference

SynthesisCallback


android.speech.tts

Interface SynthesisCallback



  • public interface SynthesisCallback
    A callback to return speech data synthesized by a text to speech engine. The engine can provide streaming audio by calling start(int, int, int), then audioAvailable(byte[], int, int) until all audio has been provided, then finally done(). error() can be called at any stage in the synthesis process to indicate that an error has occurred, but if the call is made after a call to done(), it might be discarded.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      int audioAvailable(byte[] buffer, int offset, int length)
      The service should call this method when synthesized audio is ready for consumption.
      int done()
      The service should call this method when all the synthesized audio for a request has been passed to audioAvailable(byte[], int, int).
      void error()
      The service should call this method if the speech synthesis fails.
      int getMaxBufferSize()
      int start(int sampleRateInHz, int audioFormat, int channelCount)
      The service should call this when it starts to synthesize audio for this request.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 273 / 158777385. Delta: 0.05501 с