Hi
I successfully built an app for iOS which works great, but when I I deploy to android it constantly crashes. This is the not the first time it has happened. Now I have to debug a hundred different issues. So in order to save a bit of time, I was hoping that someone could give me some pointers specifically with android audio.
For iOS I have sound effects in mp3 format, and bgm in compressed aif format (for looping reasons) wav tends to be too large and mp3 doesn't work well for loops because it always adds half a second of silence which give a hickup at the loop start. My bgm works fine for iOS but doesn't play at all in Android. Is that because of the aif file format or something else?
I use mobilePlaySoundOnChannel, should I be creating a new player object instead?
These android /iOS differences are driving me mad.
bob
audio on android - will android play aif formats
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 219
- Joined: Mon Dec 05, 2011 5:35 pm
Re: audio on android - will android play aif formats
Here are the natively supported audio formats for Android:http://developer.android.com/guide/appe ... rmats.html
Older devices may not support all of them, those are marked.
Older devices may not support all of them, those are marked.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 219
- Joined: Mon Dec 05, 2011 5:35 pm
Re: audio on android - will android play aif formats
Thank Jacque
I didn't see aif format listed, let alone compressed aif. I guess that answers that.
I will be switching to wav then.
thanks again.
I didn't see aif format listed, let alone compressed aif. I guess that answers that.
I will be switching to wav then.
thanks again.