The attached patch fixes a number of issues when building against the latest Sphinx-4 (revision 11701), and a few other issues with building Cairo on Linux.
Here is the complete list:
- Fixed cairo-sip pom.xml to specify "SNAPSHOT" rather than "1.0-SNAPSHOT" as the version.
- Adjusted cairo-server pom.xml to use sun.awt.HeadlessToolkit so that the JMF can tests run on headless systems.
- Adjusted all Sphinx config files to use the latest acoustic model settings.
- Updated cairo-rtp and cairo-server to use the new 3-argument constructor for DoubleData.
- Updated cairo-server to use the new restructured JSGFGrammar class.
- Fixed SpeechDataRecorder to use the proper temp folder on all OSes, not just "c:/temp/"
- Fixed cairo-rtp RawAudioProcessor to implement synchronization and avoid a race condition that caused the tests to fail intermittently.
- Fixed a bug in cairo-rtp RawAudioTransferHandler which would ignore the data included in a buffer with EOM set.
- Enabled the commented-out code in ReceiverResource which allows a bind address to be specified in cairo-config.xml