class WavStream extends PullAudioInputStreamCallback
Code adapted from https://github.com/Azure-Samples/cognitive-services-speech-sdk /blob/master/samples/java/jre/console/src/com/microsoft/ cognitiveservices/speech/samples/console/WavStream.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WavStream
- PullAudioInputStreamCallback
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
WavStream(wavStream: InputStream)
- wavStream
stream of wav bits with header stripped
Value Members
-
def
close(): Unit
- Definition Classes
- WavStream → PullAudioInputStreamCallback
-
def
getProperty(arg0: PropertyId): String
- Definition Classes
- PullAudioInputStreamCallback
- def parseWavHeader(reader: InputStream): InputStream
-
def
read(dataBuffer: Array[Byte]): Int
- Definition Classes
- WavStream → PullAudioInputStreamCallback
- val stream: InputStream
- val wavStream: InputStream