'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
Dim Hertz as Float = 44100
Dim Depth as Int=16
nativeMe = Me
nativeMe.RunMethod( "initialaudio", array(Hertz, Depth))
End Sub
...
#IF JAVA
...
public void initialaudio(float hertz, int depth) throws LineUnavailableException{
// specifying the audio format
AudioFormat _format = new AudioFormat(hertz,// HERTZ
depth, // SAMPLE-DEPTH
1, // NUMBER OF CHANNELS
true, // Is Signed?
false // Is Big Endian?
);
.....