com.groovemanager.spi.asio
Class AsioTimeInfo

java.lang.Object
  extended by com.groovemanager.spi.asio.NativeClass
      extended by com.groovemanager.spi.asio.AsioTimeInfo

final class AsioTimeInfo
extends NativeClass

This is a wrapper class for the native AsioTimeInfo struct

Author:
Manu Robledo

Field Summary
(package private) static long FLAG_kClockSourceChanged
           
(package private) static long FLAG_kSamplePositionValid
           
(package private) static long FLAG_kSampleRateChanged
           
(package private) static long FLAG_kSampleRateValid
           
(package private) static long FLAG_kSpeedValid
           
(package private) static long FLAG_kSystemTimeValid
          ASIOTimeInfo flag
 
Constructor Summary
AsioTimeInfo()
          Constructs a new AsioTimeInfo struct and creates a corresponding native instance
AsioTimeInfo(long pointer)
          Constructs a new AsioTimeInfo struct that corresponds to an existing native instance, which is specified by the pointer
 
Method Summary
protected  void cleanUp()
          Delete the corresponding native instance to this class
protected  long createClass()
          Create a new native instance and return its address
(package private)  long flags()
          The flags-Attribute of AsioTimeInfo
private  long jsamplePosition()
           
private  long jsampleRate()
           
private  long jsystemTime()
           
private static long kClockSourceChanged()
           
private static long kSamplePositionValid()
           
private static long kSampleRateChanged()
           
private static long kSampleRateValid()
           
private static long kSpeedValid()
           
private static long kSystemTimeValid()
           
(package private)  ASIOSamples samplePosition()
          The samplePosition-Attribute of AsioTimeInfo
(package private)  ASIOSampleRate sampleRate()
          The sampleRate-Attribute of AsioTimeInfo
(package private)  double speed()
          The speed-Attribute of AsioTimeInfo
(package private)  ASIOTimeStamp systemTime()
          The systemTime-Attribute of AsioTimeInfo
 
Methods inherited from class com.groovemanager.spi.asio.NativeClass
finalize, getPointer
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_kSystemTimeValid

static final long FLAG_kSystemTimeValid
ASIOTimeInfo flag


FLAG_kSamplePositionValid

static final long FLAG_kSamplePositionValid

FLAG_kSampleRateValid

static final long FLAG_kSampleRateValid

FLAG_kSpeedValid

static final long FLAG_kSpeedValid

FLAG_kSampleRateChanged

static final long FLAG_kSampleRateChanged

FLAG_kClockSourceChanged

static final long FLAG_kClockSourceChanged
Constructor Detail

AsioTimeInfo

AsioTimeInfo()
Constructs a new AsioTimeInfo struct and creates a corresponding native instance


AsioTimeInfo

AsioTimeInfo(long pointer)
Constructs a new AsioTimeInfo struct that corresponds to an existing native instance, which is specified by the pointer

Parameters:
pointer - The native address of the native AsioTimeInfo instance
Method Detail

createClass

protected long createClass()
Description copied from class: NativeClass
Create a new native instance and return its address

Specified by:
createClass in class NativeClass
Returns:
The address of the new created native instance

cleanUp

protected void cleanUp()
Description copied from class: NativeClass
Delete the corresponding native instance to this class

Specified by:
cleanUp in class NativeClass

jsystemTime

private long jsystemTime()

jsamplePosition

private long jsamplePosition()

jsampleRate

private long jsampleRate()

flags

long flags()
The flags-Attribute of AsioTimeInfo

Returns:
The flags-Attribute of AsioTimeInfo

speed

double speed()
The speed-Attribute of AsioTimeInfo

Returns:
The speed-Attribute of AsioTimeInfo

systemTime

ASIOTimeStamp systemTime()
The systemTime-Attribute of AsioTimeInfo

Returns:
The systemTime-Attribute of AsioTimeInfo

samplePosition

ASIOSamples samplePosition()
The samplePosition-Attribute of AsioTimeInfo

Returns:
The samplePosition-Attribute of AsioTimeInfo

sampleRate

ASIOSampleRate sampleRate()
The sampleRate-Attribute of AsioTimeInfo

Returns:
The sampleRate-Attribute of AsioTimeInfo

kSystemTimeValid

private static long kSystemTimeValid()

kSamplePositionValid

private static long kSamplePositionValid()

kSampleRateValid

private static long kSampleRateValid()

kSpeedValid

private static long kSpeedValid()

kSampleRateChanged

private static long kSampleRateChanged()

kClockSourceChanged

private static long kClockSourceChanged()