Playing media and having running animations concurrently?

John C. Turnbull ozemale at ozemail.com.au
Tue Sep 17 03:25:36 PDT 2013


Are there any threading issues regarding paying an audio clip with
MediaPlayer (a WAV file) and having a number of animations happening
concurrently?  I am finding that my JavaFX application can play the WAV file
just fine when I start the application but as soon as I kick-off a series of
animations the sound stops.  No exceptions are thrown, the sound just stops.

 

Is there something inherently wrong with this picture?  Do I have to do
something funky with threads to get this to work? This happens with JDK8
b106.

 

Thanks,

 

-jct



More information about the openjfx-dev mailing list