All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.part.SoundCard

java.lang.Object
   |
   +----pinball.part.SoundCard

public class SoundCard
extends Object
Allows the reading of data from the sound card.


Constructor Index

 o SoundCard()
Create the sound card.

Method Index

 o getSound()
Get the sound from the card.
 o Init()
Initalize the sound card.
 o listen(byte[], int)
Listen to the card.
 o main(String[])
Test the sound card.
 o test()
Test clap.
 o test2()
Test range.
 o test3()
Test clap.

Constructors

 o SoundCard
 public SoundCard()
Create the sound card.

Methods

 o Init
 protected native void Init()
Initalize the sound card.

 o listen
 protected native void listen(byte data[],
                              int size)
Listen to the card.

 o main
 public static void main(String args[])
Test the sound card.

 o test
 public void test()
Test clap.

 o test2
 public void test2()
Test range.

 o test3
 public void test3()
Test clap.

 o getSound
 public byte[] getSound()
Get the sound from the card.

Returns:
The sound from the card.

All Packages  Class Hierarchy  This Package  Previous  Next  Index