com.groovemanager.spi.asio
Class ASIOSamples

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

final class ASIOSamples
extends NativeClass

This is a wrapper class for the native ASIOSamples struct

Author:
Manu Robledo

Constructor Summary
ASIOSamples()
          Constructs a new ASIOSamples struct and creates a corresponding native instance
ASIOSamples(long pointer)
          Constructs a new ASIOSamples 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)  double doubleValue()
          Get the value of this ASIOSamples instance as double
 
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
 

Constructor Detail

ASIOSamples

public ASIOSamples()
Constructs a new ASIOSamples struct and creates a corresponding native instance


ASIOSamples

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

Parameters:
pointer - The native address of the native ASIOSamples 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

doubleValue

double doubleValue()
Get the value of this ASIOSamples instance as double

Returns:
The value of this ASIOSamples instance