86 строки
8.0 KiB
YAML
86 строки
8.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream"
|
|
fullName: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream"
|
|
name: "PushAudioInputStream"
|
|
nameWithType: "PushAudioInputStream"
|
|
summary: "Represents memory backed push audio input stream used for custom audio input configurations."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream&text=AudioInputStream\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.close()?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.close&text=close\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPullStream(com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback)?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPullStream&text=createPullStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPullStream(com.microsoft.cognitiveservices.speech.audio.PullAudioInputStreamCallback,com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat)?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPullStream&text=createPullStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPushStream()?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPushStream&text=createPushStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPushStream(com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat)?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.createPushStream&text=createPushStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream.getImpl()?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream.getImpl&text=getImpl\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public final class **PushAudioInputStream**</br> extends <xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.AudioInputStream&text=AudioInputStream\" data-throw-if-not-resolved=\"False\" />"
|
|
methods:
|
|
- uid: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.close()"
|
|
fullName: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.close()"
|
|
name: "close()"
|
|
nameWithType: "PushAudioInputStream.close()"
|
|
summary: "Closes the stream."
|
|
overridden: "com.microsoft.cognitiveservices.speech.audio.AudioInputStream.close()"
|
|
syntax: "public void close()"
|
|
desc: "Closes the stream. Note: close() must be called in order to release underlying resources held by the object."
|
|
- uid: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.create()"
|
|
fullName: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.create()"
|
|
name: "create()"
|
|
nameWithType: "PushAudioInputStream.create()"
|
|
summary: "Creates a memory backed Push<wbr>Audio<wbr>Input<wbr>Stream using the default format (16 k<wbr>Hz, 16 bit, mono PCM)."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static PushAudioInputStream create()"
|
|
desc: "Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM)."
|
|
returns:
|
|
description: "The push audio input stream being created."
|
|
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream&text=PushAudioInputStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.create(com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat)"
|
|
fullName: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.create(AudioStreamFormat format)"
|
|
name: "create(AudioStreamFormat format)"
|
|
nameWithType: "PushAudioInputStream.create(AudioStreamFormat format)"
|
|
summary: "Creates a memory backed Push<wbr>Audio<wbr>Input<wbr>Stream with the specified audio format."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The audio data format in which audio will be written to the push audio stream's write() method."
|
|
name: "format"
|
|
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat?alt=com.microsoft.cognitiveservices.speech.audio.AudioStreamFormat&text=AudioStreamFormat\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static PushAudioInputStream create(AudioStreamFormat format)"
|
|
desc: "Creates a memory backed PushAudioInputStream with the specified audio format."
|
|
returns:
|
|
description: "The push audio input stream being created."
|
|
type: "<xref href=\"com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream?alt=com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream&text=PushAudioInputStream\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.write(byte[])"
|
|
fullName: "com.microsoft.cognitiveservices.speech.audio.PushAudioInputStream.write(byte[] dataBuffer)"
|
|
name: "write(byte[] dataBuffer)"
|
|
nameWithType: "PushAudioInputStream.write(byte[] dataBuffer)"
|
|
summary: "Writes the audio data specified by making an internal copy of the data."
|
|
parameters:
|
|
- description: "The audio buffer of which this function will make a copy."
|
|
name: "dataBuffer"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public void write(byte[] dataBuffer)"
|
|
desc: "Writes the audio data specified by making an internal copy of the data. Note: The dataBuffer should not contain any audio header."
|
|
type: "class"
|
|
desc: "Represents memory backed push audio input stream used for custom audio input configurations. Note: close() must be called in order to release underlying resources held by the object."
|
|
metadata: {}
|
|
package: "com.microsoft.cognitiveservices.speech.audio"
|
|
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0
|