public class VadProcessResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
outFrame |
private Constants.VadState |
state |
| Constructor and Description |
|---|
VadProcessResult()
Constructor for VadProcessResult.
|
VadProcessResult(byte[] outFrame,
Constants.VadState state)
Constructor for VadProcessResult.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getOutFrame()
Gets the output frame.
|
Constants.VadState |
getState()
Gets the state of the VAD process.
|
void |
setOutFrame(byte[] outFrame)
Sets the output frame.
|
void |
setState(Constants.VadState state)
Sets the state of the VAD process.
|
java.lang.String |
toString()
Returns a string representation of the VadProcessResult.
|
private byte[] outFrame
private Constants.VadState state
public VadProcessResult()
public VadProcessResult(byte[] outFrame,
Constants.VadState state)
outFrame - The output frame after VAD processingstate - The state of the VAD processpublic byte[] getOutFrame()
public void setOutFrame(byte[] outFrame)
outFrame - The output frame after VAD processingpublic Constants.VadState getState()
public void setState(Constants.VadState state)
state - The state of the VAD processpublic java.lang.String toString()
toString in class java.lang.Object