Linked by Thom Holwerda on Thu 4th Dec 2008 22:34 UTC, submitted by Stenley
Java Sun has released the first version of JavaFX, aptly named JavaFX 1.0. "JavaFX 1.0 returns to the sales pitch that Sun used during Java's launch more than 13 years ago: a foundation for software on a wide variety of computing "clients" such as desktop computers or mobile phones. JavaFX builds on current Java technology but adds two major pieces. First is a new software foundation designed to run so-called rich Internet applications--network-enabled programs with lush user interfaces. Second is a new programming language called JavaFX Script that's intended to be easier to use than traditional Java."
Thread beginning with comment 339288
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Have they fixed java sound?
by lemur2 on Fri 5th Dec 2008 04:49 UTC in reply to "Have they fixed java sound?"
lemur2
Member since:
2007-02-17

Last time i checked, Java sound was horribly broken on Linux - requiring exclusive access to the sound card.


http://fedoraproject.org/wiki/Docs/Beats/Java#PulseAudio_integratio...

PulseAudio integration for javax.sound
PulseAudio integrations provides all the benefits of PulseAudio to any java application using the javax.sound package.


Edited 2008-12-05 04:50 UTC

Reply Parent Bookmark Score: 3

google_ninja Member since:
2006-02-05

PulseAudio integration for javax.sound


so... your saying its still horribly broken?

sorry, couldn't help myself ;-)

Reply Parent Bookmark Score: 4

lemur2 Member since:
2007-02-17

"PulseAudio integration for javax.sound
so... your saying its still horribly broken? sorry, couldn't help myself ;-) "

Maybe so ;-) ... but at least now it doesn't tie up the sound card.

http://www.pulseaudio.org/
"PulseAudio is a sound server for POSIX and Win32 systems. A sound server ... allows you to ... mixing several sounds into one ... easily achieved using a sound server. "

http://en.wikipedia.org/wiki/PulseAudio#Features
Support for multiple audio sources and sinks

It is being distributed now on most major Linux distributions ... recent releases of Mandriva, Ubuntu, Fedora (and as far as I know OpenSuse) all use it now as the default sound server.

This is not entirely Sun's fault,rather the general inability to put a decent sound API into Linux (and no, more layers e.g. PulseAudio is not the answer)


Why not? It is the answer they used.

The main PulseAudio features include:

Per-application volume controls[1]
An extensible plugin architecture with support for loadable modules
Compatibility with many popular audio applications[which?]
Support for multiple audio sources and sinks
Low-latency operation[citation needed] and support for latency measurement
A zero-copy memory architecture for processor resource efficiency
Ability to discover other computers using PulseAudio on the local network and play sound through their speakers directly
Ability to change which output device an application plays sound through while the application is playing sound (without the application needing to support this, and indeed without even being aware that this happened)
A command-line interface with scripting capabilities
A sound daemon with command line reconfiguration capabilities
Built-in sample conversion and resampling capabilities
The ability to combine multiple sound cards into one
The ability to synchronize multiple playback streams
Bluetooth audio devices with dynamic detection


BTW ... java on Linux does not necessarily mean "Sun".

Edited 2008-12-05 05:20 UTC

Reply Parent Bookmark Score: 1