public static final class AudioSink.WriteException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
int |
errorCode
The error value returned from the sink implementation.
|
Constructor and Description |
---|
WriteException(int errorCode) |
public final int errorCode
AudioTrack
, this will be the error value returned from
AudioTrack.write(byte[], int, int)
or AudioTrack.write(ByteBuffer, int, int)
.
Otherwise, the meaning of the error code depends on the sink implementation.