public static final class AudioTrack.InitializationException extends Exception
AudioTrack
.Modifier and Type | Field and Description |
---|---|
int |
audioTrackState
The state as reported by
AudioTrack.getState() . |
Constructor and Description |
---|
InitializationException(int audioTrackState,
int sampleRate,
int channelConfig,
int bufferSize) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final int audioTrackState
AudioTrack.getState()
.public InitializationException(int audioTrackState, int sampleRate, int channelConfig, int bufferSize)
audioTrackState
- The state as reported by AudioTrack.getState()
.sampleRate
- The requested sample rate in Hz.channelConfig
- The requested channel configuration.bufferSize
- The requested buffer size in bytes.