public static final class SapaService.Parameters
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE_240
Show the buffer size is 240
|
static int |
BUFFER_SIZE_480
Show the buffer size is 480
|
static int |
BUFFER_SIZE_960
Show the buffer size is 960
|
static java.lang.String |
LATENCY_HIGH
Show the high latency
|
static java.lang.String |
LATENCY_LOW
Show the low latency
|
static java.lang.String |
LATENCY_MID
Show the mid latency
|
static int |
SAMPLE_RATE_44100
Show the sample rate is 44.1K
|
static int |
SAMPLE_RATE_48000
Show the sample rate is 48K
|
Constructor and Description |
---|
Parameters()
Create a Parameters instance
|
Modifier and Type | Method and Description |
---|---|
int |
getAudioDeviceControlStatus(int device)
Get the status of controlling the audio device
|
int |
getAvailableSapaProcessorCount()
Get the available SapaProcessor's count
|
int |
getBufferSize()
Get the Buffer size
|
java.lang.String |
getLatency()
Get the Latency value
|
int |
getSampleRate()
Get the Sample rate
|
public static final java.lang.String LATENCY_HIGH
public static final java.lang.String LATENCY_MID
public static final java.lang.String LATENCY_LOW
public static final int SAMPLE_RATE_48000
public static final int SAMPLE_RATE_44100
public static final int BUFFER_SIZE_960
public static final int BUFFER_SIZE_480
public static final int BUFFER_SIZE_240
public int getAudioDeviceControlStatus(int device)
device
- the device type, one of the SapaService.AUDIO_DEVICE_USBpublic java.lang.String getLatency()
public int getSampleRate()
public int getBufferSize()
public int getAvailableSapaProcessorCount()