When using extremely short audio clips, MediaPlayer methods such as setOnRepeat, setOnEndOfMedia, setOnReady, etc.... are not always called. I noticed this on the Mac 10.6 and not on Windows.
Please see the following test results with this Jira ID:
http://owerfeldt-mac.us.oracle.com/results/2.0.2/b06/configuration-25/summary.html
I think a minimum duration needs to be defined and documented as a requirement for using the media API's. Media file such as metallic.mp3, which is 70 ms seems to be to short. There are issues using this media file with both MediaPlayer and AudioClip classes.
Please see the following test results with this Jira ID:
http://owerfeldt-mac.us.oracle.com/results/2.0.2/b06/configuration-25/summary.html
I think a minimum duration needs to be defined and documented as a requirement for using the media API's. Media file such as metallic.mp3, which is 70 ms seems to be to short. There are issues using this media file with both MediaPlayer and AudioClip classes.
- is blocked by
-
JDK-8113678 AudioClip doesn`t play short (mp3) audio files
-
- Closed
-
- relates to
-
JDK-8119412 Mac MP3 decoder does not play short audio clips
-
- Closed
-
-
JDK-8116509 CurrentRateTest Fails - EOM is not called and or rate is not equal to 0
-
- Closed
-