I’m making a JavaFX program on openSUSE 11.2 + KDE 4.3.5.
When I try to use MediaPlayer and Media class to play some music, I experienced a problem.
Sample code:
MediaPlayer {
media: Media {
source: "{__DIR__}audio.mp3"
}
}
When Amarok or Kaffeine are working, audio.mp3 is not played.
But when MPlayer is working, audio.mp3 is played.
* audio.mp3 is played before I play sound with Amarok or Kaffeine.
* I’ve tried only with mp3 format. I don’t know how about other formats.