PullAudioInputStreamCallback Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines callback methods (Read() and Close()) for custom audio input streams).
public abstract class PullAudioInputStreamCallback : IDisposable
type PullAudioInputStreamCallback = class
interface IDisposable
Public MustInherit Class PullAudioInputStreamCallback
Implements IDisposable
- Inheritance
-
PullAudioInputStreamCallback
- Implements
Remarks
See also: About the Speech SDK audio input stream API
Constructors
PullAudioInputStreamCallback() |
Methods
Close() |
Closes the audio input stream. |
Dispose() |
Dispose of associated resources. |
Dispose(Boolean) |
This method performs cleanup of resources.
The Boolean parameter |
GetProperty(PropertyId) |
Gets a property of the data buffer. If the property isn’t found, an empty string is returned. Added in 1.5.0 |
Read(Byte[], UInt32) |
Reads binary data from the stream. Note: The dataBuffer returned by Read() cannot contain any audio header. |