|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.spi.asio.ASIOStaticFunctions
public final class ASIOStaticFunctions
This class provides wrapper methods for native ASIO functions
| Field Summary | |
|---|---|
(package private) static long |
MESSAGE_SELECTOR_kAsioBufferSizeChange
|
(package private) static long |
MESSAGE_SELECTOR_kAsioEngineVersion
|
(package private) static long |
MESSAGE_SELECTOR_kAsioLatenciesChanged
|
(package private) static long |
MESSAGE_SELECTOR_kAsioResetRequest
|
(package private) static long |
MESSAGE_SELECTOR_kAsioResyncRequest
|
(package private) static long |
MESSAGE_SELECTOR_kAsioSelectorSupported
|
(package private) static long |
MESSAGE_SELECTOR_kAsioSupportsTimeCode
|
(package private) static long |
MESSAGE_SELECTOR_kAsioSupportsTimeInfo
|
| Constructor Summary | |
|---|---|
ASIOStaticFunctions()
|
|
| Method Summary | |
|---|---|
(package private) static boolean |
ASIOCanSampleRate(double sampleRate)
Wrapper for ASIOCanSampleRate() |
static void |
ASIOControlPanel()
Wrapper for ASIOControlPanel() |
(package private) static ASIOBufferInfo[] |
ASIOCreateBuffers(ASIOBufferInfo[] infos,
int bufferSize)
Wrapper for ASIOCreateBuffers() |
(package private) static void |
ASIODisposeBuffers()
Wrapper for ASIODisposeBuffers() |
(package private) static void |
ASIOExit()
Wrapper for ASIOExit() |
(package private) static void |
ASIOFuture(int selector,
long pointer)
Wrapper for ASIOFuture() |
(package private) static int[] |
ASIOGetBufferSize()
Wrapper for ASIOGetBufferSize() |
(package private) static int |
ASIOGetBufferSizeGranularity()
Wrapper for ASIOGetBufferSize() |
(package private) static ASIOChannelInfo |
ASIOGetChannelinfo(int channel,
boolean isInput)
Wrapper for ASIOGetChannelInfo() |
(package private) static int[] |
ASIOGetChannels()
Wrapper for ASIOGetChannels() |
(package private) static ASIOClockSource[] |
ASIOGetClockSources(int numSources)
Wrapper for ASIOGetClockSources() |
(package private) static int |
ASIOGetInputChannels()
Wrapper for ASIOGetChannels() |
(package private) static int |
ASIOGetInputLatency()
Wrapper for ASIOGetLatencies() |
(package private) static int[] |
ASIOGetLatencies()
Wrapper for ASIOGetLatencies() |
(package private) static int |
ASIOGetMaxBufferSize()
Wrapper for ASIOGetBufferSize() |
(package private) static int |
ASIOGetMinBufferSize()
Wrapper for ASIOGetBufferSize() |
(package private) static int |
ASIOGetOutputChannels()
Wrapper for ASIOGetChannels() |
(package private) static int |
ASIOGetOutputLatency()
Wrapper for ASIOGetLatencies() |
(package private) static int |
ASIOGetPreferredBufferSize()
Wrapper for ASIOGetBufferSize() |
(package private) static double |
ASIOGetSampleRate()
Wrapper for ASIOGetSampleRate |
(package private) static ASIODriverInfo |
ASIOInit()
Wrapper for ASIOInit() |
(package private) static void |
ASIOOutputReady()
Wrapper for ASIOOutputReady() |
(package private) static void |
ASIOSetClockSource(int index)
Wrapper for ASIOSetClockSource() |
(package private) static void |
ASIOSetSampleRate(double rate)
Wrapper for ASIOSetSampleRate |
(package private) static void |
ASIOStart()
Wrapper for ASIOStart() |
(package private) static void |
ASIOStop()
Wrapper for ASIOStop() |
private static ByteBuffer |
createBuffer(long infoPointer,
int index,
int capacity)
|
(package private) static ByteBuffer[] |
createBuffers(ASIOBufferInfo info,
int asiobuffersize)
Create two ByteBuffer objects from the buffer half addresses specified in the ASIOBufferInfo |
static void |
disableTimeCodeReader()
Disable the time code reader if the hardware device supports time code. |
static void |
enableTimeCodeReader()
Enable the time code reader if the hardware device supports time code. |
(package private) static long |
getSystemTime()
Get the system time reference |
private static int |
jASIOCanSampleRate(ASIOSampleRate rate)
|
private static int |
jASIOControlPanel()
|
private static int |
jASIOCreateBuffers(long[] infos,
int bufferSize)
|
private static int |
jASIODisposeBuffers()
|
private static int |
jASIOExit()
|
private static int |
jASIOFuture(int selector,
long pointer)
|
private static int |
jASIOGetBufferSize(int[] data)
|
private static int |
jASIOGetChannelInfo(long pointer)
|
private static int |
jASIOGetChannels(int[] channels)
|
private static int |
jASIOGetClockSources(long[] clockPointers)
|
private static int |
jASIOGetLatencies(int[] latencies)
|
private static int |
jASIOGetSampleRate(ASIOSampleRate sampleRate)
|
private static int |
jASIOInit(long pointer)
|
private static int |
jASIOOutputReady()
|
private static int |
jASIOSetClockSource(int index)
|
private static int |
jASIOSetSampleRate(ASIOSampleRate sampleRate)
|
private static int |
jASIOStart()
|
private static int |
jASIOStop()
|
private static long |
kAsioBufferSizeChange()
|
private static long |
kAsioDisableTimeCodeRead()
|
private static long |
kAsioEnableTimeCodeRead()
|
private static long |
kAsioEngineVersion()
|
private static long |
kAsioLatenciesChanged()
|
private static long |
kAsioResetRequest()
|
private static long |
kAsioResyncRequest()
|
private static long |
kAsioSelectorSupported()
ASIO message selector for asioMessage() |
private static long |
kAsioSetInputMonitor()
|
private static long |
kAsioSupportsTimeCode()
|
private static long |
kAsioSupportsTimeInfo()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long MESSAGE_SELECTOR_kAsioSelectorSupported
static final long MESSAGE_SELECTOR_kAsioEngineVersion
static final long MESSAGE_SELECTOR_kAsioResetRequest
static final long MESSAGE_SELECTOR_kAsioBufferSizeChange
static final long MESSAGE_SELECTOR_kAsioResyncRequest
static final long MESSAGE_SELECTOR_kAsioLatenciesChanged
static final long MESSAGE_SELECTOR_kAsioSupportsTimeInfo
static final long MESSAGE_SELECTOR_kAsioSupportsTimeCode
| Constructor Detail |
|---|
public ASIOStaticFunctions()
| Method Detail |
|---|
static ASIODriverInfo ASIOInit()
throws ASIOError
ASIOError - If ASIOInit() fails
static void ASIOExit()
throws ASIOError
ASIOError - If ASIOExit() fails
static void ASIOStart()
throws ASIOError
ASIOError - If ASIOStart() fails
static void ASIOStop()
throws ASIOError
ASIOError - If ASIOStop() fails
static int ASIOGetInputChannels()
throws ASIOError
ASIOError - If ASIOGetChannels() fails
static int ASIOGetOutputChannels()
throws ASIOError
ASIOError - If ASIOGetChannels() fails
static int[] ASIOGetChannels()
throws ASIOError
ASIOError - If ASIOGetChannels() fails
static int ASIOGetInputLatency()
throws ASIOError
ASIOError - If ASIOGetLAtencies() fails
static int ASIOGetOutputLatency()
throws ASIOError
ASIOError - If ASIOGetLAtencies() fails
static int[] ASIOGetLatencies()
throws ASIOError
ASIOError - If ASIOGetLAtencies() fails
static int ASIOGetMinBufferSize()
throws ASIOError
ASIOError - If ASIOGetBufferSize() fails
static int ASIOGetMaxBufferSize()
throws ASIOError
ASIOError - If ASIOGetBufferSize() fails
static int ASIOGetPreferredBufferSize()
throws ASIOError
ASIOError - If ASIOGetBufferSize() fails
static int ASIOGetBufferSizeGranularity()
throws ASIOError
ASIOError - If ASIOGetBufferSize() fails
static int[] ASIOGetBufferSize()
throws ASIOError
ASIOError - If ASIOGetBufferSize() fails
static boolean ASIOCanSampleRate(double sampleRate)
throws ASIOError
sampleRate - The sample rate to ask the driver for
ASIOError - If ASIOCanSampleRate() fails
static double ASIOGetSampleRate()
throws ASIOError
ASIOError - If ASIOGetSampleRate fails
static void ASIOSetSampleRate(double rate)
throws ASIOError
rate - The new sample rate to set
ASIOError - If ASIOSetSampleRate() fails
static ASIOClockSource[] ASIOGetClockSources(int numSources)
throws ASIOError
numSources - The maximum number of sources expected
ASIOError - If ASIOGetClockSources() fails
static void ASIOSetClockSource(int index)
throws ASIOError
index - The index of the clock source to select
ASIOError - If ASIOSetClockSources() fails
static ASIOChannelInfo ASIOGetChannelinfo(int channel,
boolean isInput)
throws ASIOError
channel - The number of the channel to query (zero-based)isInput - true if querying an input channel, false otherwise
ASIOError - If ASIOGetChannelinfo() fails
static ASIOBufferInfo[] ASIOCreateBuffers(ASIOBufferInfo[] infos,
int bufferSize)
throws ASIOError
infos - ASIOBufferInfo-Array with information of the channels to
prepare the buffers forbufferSize - The buffersize to use
ASIOError - If ASIOCreateBuffer() fails
static void ASIODisposeBuffers()
throws ASIOError
ASIOError - If ASIODisposeBuffers() fails
static void ASIOOutputReady()
throws ASIOError
ASIOError - If ASIOOutputReady() fails
public static void ASIOControlPanel()
throws ASIOError
ASIOError - If ASIOControlPanel() fails
static void ASIOFuture(int selector,
long pointer)
throws ASIOError
selector - The selectorpointer - The address of the "void* param" parameter
ASIOError - If ASIOFuture() fails
public static void enableTimeCodeReader()
throws ASIOError
ASIOError - If the hardware doesn´t support this feature
public static void disableTimeCodeReader()
throws ASIOError
ASIOError - If the hardware doesn´t support this featureprivate static int jASIOInit(long pointer)
private static int jASIOExit()
private static int jASIOStart()
private static int jASIOStop()
private static int jASIOGetChannels(int[] channels)
private static int jASIOGetLatencies(int[] latencies)
private static int jASIOGetBufferSize(int[] data)
private static int jASIOCanSampleRate(ASIOSampleRate rate)
private static int jASIOGetSampleRate(ASIOSampleRate sampleRate)
private static int jASIOSetSampleRate(ASIOSampleRate sampleRate)
private static int jASIOGetClockSources(long[] clockPointers)
private static int jASIOSetClockSource(int index)
private static int jASIOGetChannelInfo(long pointer)
private static int jASIOCreateBuffers(long[] infos,
int bufferSize)
private static int jASIODisposeBuffers()
private static int jASIOOutputReady()
private static int jASIOControlPanel()
private static int jASIOFuture(int selector,
long pointer)
private static long kAsioEnableTimeCodeRead()
private static long kAsioDisableTimeCodeRead()
private static long kAsioSetInputMonitor()
private static ByteBuffer createBuffer(long infoPointer,
int index,
int capacity)
static long getSystemTime()
static ByteBuffer[] createBuffers(ASIOBufferInfo info,
int asiobuffersize)
info - The ASIOBufferInfo gotten from ASIOCreateBuffers()asiobuffersize - The size of each half buffer in bytes
private static long kAsioSelectorSupported()
private static long kAsioEngineVersion()
private static long kAsioResetRequest()
private static long kAsioBufferSizeChange()
private static long kAsioResyncRequest()
private static long kAsioLatenciesChanged()
private static long kAsioSupportsTimeInfo()
private static long kAsioSupportsTimeCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||