Hello all, I already posted this question:
I'm developing a J2ME application for Nokia 7210, using MIDP and Nokia UI API. When the application executes the following code:
sound.play(1) it throws an IllegalArgumentException. Note that the played sound is a .ott file that has never shown any problem when used in the same application running in the 3410 or 7650 version. Or in the 7210 emulator.
So, I suppose that the file is not corrupted.
Maybe the sound's inizialization values can be different from device to device? (I use the Sound(byte data, int type) constructor).
Now, I can also say that every single .ott file that the application plays raises the exception between the 4th and the 8th second of music.
Could it be a device's limit?