public class AudioMicrophoneReader
extends java.lang.Object
Title: Semantic Lexicon Processing Framework
Description: Defines a reader for Audio Microphone.
Copyright: Copyright (c) 2022
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static interface |
AudioMicrophoneReader.AudioMicrophoneBytesListener |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CHUNK_SIZE_BYTES |
Constructor and Description |
---|
AudioMicrophoneReader(javax.sound.sampled.AudioFormat audioFormat) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AudioMicrophoneReader.AudioMicrophoneBytesListener listener) |
java.util.List |
getListeners() |
javax.sound.sampled.TargetDataLine |
getTargetDataLineForRecord() |
int |
getTotalBytesRead() |
boolean |
isRunning() |
void |
setChunkSizeBytes(int chunkSizeBytes) |
void |
start() |
void |
stop() |
public AudioMicrophoneReader(javax.sound.sampled.AudioFormat audioFormat)
public void setChunkSizeBytes(int chunkSizeBytes)
public void addListener(AudioMicrophoneReader.AudioMicrophoneBytesListener listener)
public java.util.List getListeners()
public int getTotalBytesRead()
public boolean isRunning()
public void start()
public void stop()
public javax.sound.sampled.TargetDataLine getTargetDataLineForRecord()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.