Lines Matching defs:audio
18 * be soon before audio is played back in the case of a {@link TextToSpeech#speak}
28 * All audio will have been played back by this point for audible output, and all
79 * Called when the TTS engine begins to synthesize the audio for a request.
87 * This is called when the TTS engine starts synthesizing audio for the request. If an
88 * application wishes to know when the audio is about to start playing, {#onStart(String)}
93 * @param sampleRateInHz Sample rate in hertz of the generated audio.
94 * @param audioFormat Audio format of the generated audio. Should be one of
103 * This is called when a chunk of audio is ready for consumption.
106 * The audio parameter is a copy of what will be synthesized to the speakers (when synthesis was
108 * {@link TextToSpeech#synthesizeToFile}). The audio bytes are delivered in one or more chunks;
113 * The audio received here may not be played for some time depending on buffer sizes and the
118 * @param audio A chunk of audio; the format can be known by listening to
121 public void onAudioAvailable(String utteranceId, byte[] audio) {