Uses of Class
com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat
-
Packages that use AudioStreamFormat Package Description com.microsoft.cognitiveservices.speech.audio -
-
Uses of AudioStreamFormat in com.microsoft.cognitiveservices.speech.audio
Methods in com.microsoft.cognitiveservices.speech.audio that return AudioStreamFormat Modifier and Type Method Description static AudioStreamFormatAudioStreamFormat. getCompressedFormat(AudioStreamContainerFormat compressedFormat)Creates an audio stream format object with the specified compressed audio container format, to be used as input format.static AudioStreamFormatAudioStreamFormat. getDefaultInputFormat()Creates an audio stream format object representing the default audio stream format (16 kHz, 16 bit, mono PCM).static AudioStreamFormatAudioStreamFormat. getWaveFormat(long samplesPerSecond, short bitsPerSample, short channels, AudioStreamWaveFormat waveFormat)Creates an audio stream format object with the specified pcm waveformat characteristics.static AudioStreamFormatAudioStreamFormat. getWaveFormatPCM(long samplesPerSecond, short bitsPerSample, short channels)Creates an audio stream format object with the specified pcm waveformat characteristics.Methods in com.microsoft.cognitiveservices.speech.audio with parameters of type AudioStreamFormat Modifier and Type Method Description static PullAudioInputStreamPullAudioInputStream. create(PullAudioInputStreamCallback callback, AudioStreamFormat format)Creates a PullAudioInputStream that delegates to the specified callback interface for read() and close() methods.static PushAudioInputStreamPushAudioInputStream. create(AudioStreamFormat format)Creates a memory backed PushAudioInputStream with the specified audio format.static PullAudioInputStreamAudioInputStream. createPullStream(PullAudioInputStreamCallback callback, AudioStreamFormat format)Creates a PullAudioInputStream that delegates to the specified callback interface for read() and close() methods.static PushAudioInputStreamAudioInputStream. createPushStream(AudioStreamFormat format)Creates a memory backed PushAudioInputStream with the specified audio format.
-