Several fixes: 1. audioLine.open() is called before the AudioInputStream is created,    instead of after 2. The while loop inside RecordingThread.run() is conditioned on the    end-of-stream being reached, this makes sure that all data is being read. 3. Removed several unnecessary and confusing class variables.
Several fixes:
1. audioLine.open() is called before the AudioInputStream is created,
   instead of after
2. The while loop inside RecordingThread.run() is conditioned on the
   end-of-stream being reached, this makes sure that all data is being read.
3. Removed several unnecessary and confusing class variables.

This version works on:

Solaris + Java 1.4.2
Solaris + Java 1.5.0
Linux + Java 1.5.0

It still does not work on the Linux box in the lab when it runs Java 1.4.2.


git-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@3286 94700074-3cef-4d97-a70e-9c8c206c02f5

deepstupid/sphinx5