|
|||||||||
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() failsstatic void ASIOExit() throws ASIOError
ASIOError
- If ASIOExit() failsstatic void ASIOStart() throws ASIOError
ASIOError
- If ASIOStart() failsstatic void ASIOStop() throws ASIOError
ASIOError
- If ASIOStop() failsstatic int ASIOGetInputChannels() throws ASIOError
ASIOError
- If ASIOGetChannels() failsstatic int ASIOGetOutputChannels() throws ASIOError
ASIOError
- If ASIOGetChannels() failsstatic int[] ASIOGetChannels() throws ASIOError
ASIOError
- If ASIOGetChannels() failsstatic int ASIOGetInputLatency() throws ASIOError
ASIOError
- If ASIOGetLAtencies() failsstatic int ASIOGetOutputLatency() throws ASIOError
ASIOError
- If ASIOGetLAtencies() failsstatic int[] ASIOGetLatencies() throws ASIOError
ASIOError
- If ASIOGetLAtencies() failsstatic int ASIOGetMinBufferSize() throws ASIOError
ASIOError
- If ASIOGetBufferSize() failsstatic int ASIOGetMaxBufferSize() throws ASIOError
ASIOError
- If ASIOGetBufferSize() failsstatic int ASIOGetPreferredBufferSize() throws ASIOError
ASIOError
- If ASIOGetBufferSize() failsstatic int ASIOGetBufferSizeGranularity() throws ASIOError
ASIOError
- If ASIOGetBufferSize() failsstatic int[] ASIOGetBufferSize() throws ASIOError
ASIOError
- If ASIOGetBufferSize() failsstatic boolean ASIOCanSampleRate(double sampleRate) throws ASIOError
sampleRate
- The sample rate to ask the driver for
ASIOError
- If ASIOCanSampleRate() failsstatic double ASIOGetSampleRate() throws ASIOError
ASIOError
- If ASIOGetSampleRate failsstatic void ASIOSetSampleRate(double rate) throws ASIOError
rate
- The new sample rate to set
ASIOError
- If ASIOSetSampleRate() failsstatic ASIOClockSource[] ASIOGetClockSources(int numSources) throws ASIOError
numSources
- The maximum number of sources expected
ASIOError
- If ASIOGetClockSources() failsstatic void ASIOSetClockSource(int index) throws ASIOError
index
- The index of the clock source to select
ASIOError
- If ASIOSetClockSources() failsstatic 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() failsstatic 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() failsstatic void ASIODisposeBuffers() throws ASIOError
ASIOError
- If ASIODisposeBuffers() failsstatic void ASIOOutputReady() throws ASIOError
ASIOError
- If ASIOOutputReady() failspublic static void ASIOControlPanel() throws ASIOError
ASIOError
- If ASIOControlPanel() failsstatic void ASIOFuture(int selector, long pointer) throws ASIOError
selector
- The selectorpointer
- The address of the "void* param" parameter
ASIOError
- If ASIOFuture() failspublic static void enableTimeCodeReader() throws ASIOError
ASIOError
- If the hardware doesn´t support this featurepublic 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 |