SpeechKit.Parameters.SoundFormats class

ru.yandex.speechkit

public  abstract class  SpeechKit.Parameters.SoundFormats 

Possible values for transmitted audio formats.

The current version of the library supports uncompressed PCM and Speex. To set Speex parameters, use SpeechKit.Parameters.encodingQuality.

Fields

Stringpcm

Uses uncompressed PCM.

StringpcmIfWifi

If there is a WiFi connection, PCM is used.

Stringspeex

Always uses Speex.

Field descriptions

pcm

public static final String pcm ()

Uses uncompressed PCM.

pcmIfWifi

public static final String pcmIfWifi ()

If there is a WiFi connection, PCM is used.

In all other cases, Speex is used.

speex

public static final String speex ()

Always uses Speex.