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 quality, use SpeechKit.Parameters.encodingQuality.

Fields

final Stringpcm

Uses uncompressed PCM.

final StringpcmIfWifi

If there is a WiFi connection, PCM is used.

final 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.