public class AudioComponent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
shouldRead |
protected AtomicBoolean |
shouldWrite |
| Constructor and Description |
|---|
AudioComponent(int componentId)
Creates new instance with default name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(AudioInput input) |
void |
addOutput(AudioOutput output) |
int |
getComponentId() |
int[] |
getData() |
void |
offer(int[] data) |
void |
perform() |
void |
remove(AudioInput input) |
void |
remove(AudioOutput output) |
void |
updateMode(boolean shouldRead,
boolean shouldWrite) |
protected final AtomicBoolean shouldRead
protected final AtomicBoolean shouldWrite
public AudioComponent(int componentId)
public int getComponentId()
public void updateMode(boolean shouldRead,
boolean shouldWrite)
public void addInput(AudioInput input)
public void addOutput(AudioOutput output)
public void remove(AudioInput input)
public void remove(AudioOutput output)
public void perform()
public int[] getData()
public void offer(int[] data)
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.