Compatibility of OGG sound files

WAZUMBi

Well-Known Member
Licensed User
Longtime User
I am having an ongoing issue with some of my apps where starting the apps fail.

The error is:

"An error has occured in sub: java.io.IOExceptionL Prepare failed.: status=0x1"

This is directly related to certain versions of the Android OS not being able to load some sound files.
(specifically my Samsung Infuse SGH-1997)

I thought I had found the problem. Apparantly some phones simply don't like sound files recorded on multiple tracks and converting them to mono fixes the issue.

This worke for a while but, of course, the problem has crept up again.
There has been some dicussion here on the B4A forums. Some others have encountered this problem.
The only remedy I've been able to find is to convert the offending file from .wav or .mp3 to .ogg.

As I am unfamiliar with this format does anybody know what the reliability of the .ogg format is and what the future compadibility with Android is?
 

Eric H

Active Member
Licensed User
Longtime User

stevel05

Expert
Licensed User
Longtime User
Future compatibility? only Android can tell you that, but ogg seems to be the best option currently. Wav could probably be considered more future proof, but requires larger files.
 

WAZUMBi

Well-Known Member
Licensed User
Longtime User
Thank you for the feedback.
It seems .ogg is the way to go (for now). I consistently have problems with .wav and .mp3 files on certain devices.
 
Top