sendTtsAudio method

void sendTtsAudio(
  1. int requestId,
  2. AudioBuffer audio
)

Routes TTS audio from a speech engine to a client. audio An audio buffer from the text-to-speech engine.

Implementation

void sendTtsAudio(
  int requestId,
  AudioBuffer audio,
) {
  $js.chrome.ttsEngine.sendTtsAudio(
    requestId,
    audio.toJS,
  );
}