Audio files problem
Posted: Thu Apr 23, 2020 12:07 pm
I have this LCD game that uses 8 different wav files for sound effects.
I have compiled it for both amiga, windows and android and it was working normally on all platforms.
Now I have got the permission to use some wav files from an italian website, that are more accurate to the original sounds. So I replaced my sounds with these.
And they all play well on all platforms I tested, execpt on android.
On android some of the sounds almost never play, while others can be heared part of the time. Also on android I did get no audio channel available error after playing a while. I did try to set the different sounds to play in dedicated sound channels, and that fixed the audio channel error, but the sounds still dont play as they should.
I did make a few sounds using the bfxr (windows tool) to replace the most troublesome italian sound files, and when using my own wav files everything plays fine in android.
I did put the files here. https://drive.google.com/open?id=1dnN0z ... jcG3kj3iva
The ones starting with it_xxx are the ones causing trouble, and the others beginning with new_xxx are working fine.
The most used sound is it_Barrel.wav that will sound aprox. one time per second or faster, that sound does work most of the time, but not allways. The it_Step.wav only sounds sometimes, and the it_Bonus.wav is hardly heard at all.
Some of the audio files are very short. Could it be the android audio system is to slow to initialize, so that Hollywood have finished playing them before they can be heard? But that does not explain why I got the audio channel error.
I have compiled it for both amiga, windows and android and it was working normally on all platforms.
Now I have got the permission to use some wav files from an italian website, that are more accurate to the original sounds. So I replaced my sounds with these.
And they all play well on all platforms I tested, execpt on android.
On android some of the sounds almost never play, while others can be heared part of the time. Also on android I did get no audio channel available error after playing a while. I did try to set the different sounds to play in dedicated sound channels, and that fixed the audio channel error, but the sounds still dont play as they should.
I did make a few sounds using the bfxr (windows tool) to replace the most troublesome italian sound files, and when using my own wav files everything plays fine in android.
I did put the files here. https://drive.google.com/open?id=1dnN0z ... jcG3kj3iva
The ones starting with it_xxx are the ones causing trouble, and the others beginning with new_xxx are working fine.
The most used sound is it_Barrel.wav that will sound aprox. one time per second or faster, that sound does work most of the time, but not allways. The it_Step.wav only sounds sometimes, and the it_Bonus.wav is hardly heard at all.
Some of the audio files are very short. Could it be the android audio system is to slow to initialize, so that Hollywood have finished playing them before they can be heard? But that does not explain why I got the audio channel error.