Package asiojni
Class AsioJniInterface
java.lang.Object
asiojni.AsioJniInterface
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDriverToList
(String driverName, int[] maxChannels, int[] sampleRateInfo) void
callJniGetAsioDrivers
(AsioDriverInfos asioDrivers) void
void
displayAsioMessage
(int Error) void
getAsioDrivers
(AsioDriverInfos asioDrivers) int[]
int
int
int[]
int
boolean
void
jniAsioStart
(AsioJniInterface.AsioController asioController, String driverName, int[] maxChannelList, int[] outputChannels) boolean
jniGetAsioControlPanelSettings
(String driverName, AsioJniInterface.AsioDriverSettings asioDriverSettings) boolean
jniPlayData
(int iChannel, double[] data) void
jniSetDriverAndSampleRate
(int sampleRate, int numChannels, String driverName) static void
load()
boolean
playData
(int outputChannel, RawDataUnit rawDataUnit) void
setInputChannelList
(int[] inputChannelList, int nInputChannels) void
setPlaybackChannels
(int[] playbackChannels) void
setRecordActive
(boolean recordActive) void
updateJavaBuffers
(int channelNumber, double[] data)
-
Field Details
-
asioDriverInfos
-
asioDriverSettings
-
asioController
-
-
Constructor Details
-
AsioJniInterface
-
-
Method Details
-
getAsioDrivers
-
jniGetAsioControlPanelSettings
public boolean jniGetAsioControlPanelSettings(String driverName, AsioJniInterface.AsioDriverSettings asioDriverSettings) -
jniAsioStart
public void jniAsioStart(AsioJniInterface.AsioController asioController, String driverName, int[] maxChannelList, int[] outputChannels) -
jniSetDriverAndSampleRate
-
jniPlayData
public boolean jniPlayData(int iChannel, double[] data) -
createChannelBuffers
public void createChannelBuffers() -
addDriverToList
-
load
public static void load() -
callJniGetAsioDrivers
-
getInputChannelList
public int[] getInputChannelList() -
getNumInputChannels
public int getNumInputChannels() -
getNumOutputChannels
public int getNumOutputChannels() -
updateJavaBuffers
public void updateJavaBuffers(int channelNumber, double[] data) -
isRecordActive
public boolean isRecordActive() -
setRecordActive
public void setRecordActive(boolean recordActive) -
getSampleRate
public int getSampleRate() -
displayAsioMessage
public void displayAsioMessage(int Error) -
getAsioDriverInfos
-
setInputChannelList
public void setInputChannelList(int[] inputChannelList, int nInputChannels) -
getPlaybackChannels
public int[] getPlaybackChannels() -
setPlaybackChannels
public void setPlaybackChannels(int[] playbackChannels) -
getAsioDataUnits
-
playData
-