One other question for you. I have been reading the reviews of these tablets on Amazon, and it appears that many other apps appear to be working on these tablets (eg. Skype), would you happen to know how these apps resolve the audio issue?
I’m surprised to see that someone on that Skype forum thread reported this issue on a Galaxy Tab, because we know that OpenSL can load successfully on that device. But then again, I don’t know if we can 100% trust that he is running into the same issue and might have some unrelated crash. Although, it does make me wonder if this is not a device/model specific issue and this might be something worse… like a system corruption issue.
The only other solution that I think we can implement is for us to do the following. If we detect that the OpenSL library exists, we can write to file that we’re attempting to load the library. If we successfully load the library, that we write to file that it can be loaded successfully. If we crash, then the next time the app starts up, we can then identify that the library cannot be loaded and fallback to a different Android audio API which unfortunately has higher playback latency/delay, but at least it would work on the offending devices (better than always crashing). The only bummer about this solution is that it’ll still crash on the first time you run the app, because I’m not sure how we can predict if it’ll crash or not (corrupted library?). But I’m not sure what else we can do about it at the moment.
Out of curiosity, are you able to reproduce this issue on any of your devices?
Yeah, I have been able to reproduce it consistently on the Dragon Y88, I have also just ordered a Noria to confirm the issue there.
On the Dragon device, I was able to recreate the issue by literally having just this in main.lua:
local function main() local introVoice = audio.loadSound ("Voice\_PuzzingoTheGreatestPuzzle.mp3"); audio.play(introVoice); return true end main()
I would be happy to ship you a device or swing by and drop one off for you to try (I am in Sunnyvale).
Your idea sounds reasonable, since I would expect most people to at least give something a second try “just in case”. But that assumes you can tell that the crash is caused by this issue and not something else?
Yeah, given the issue you described, I was expecting lots of mainstream apps to fail on these tablets, but what’s weird is that many apps/games still seems to work. For example, we’ve tried Clash of Clans, Candy Crush, and the feature review on the Dragon tablet on Amazon has a guy playing Subway Surfer…
If you’re willing to drop it off at our office, then that would be a big help. We’re a bit too busy this week (we other commitments to complete first), but I’ll see about scheduling a time for you to swing by next week if that’ll work for you. Thanks for offering. It would indeed be great to finally lay this issue to rest.
For sure. Some of my colleagues are driving by Palo Alto today and tomorrow. I am going to ask one of them to drop off the Dragon tablet at the Corona office. You can keep the tablet for as long as you need. We will come by and pick it up once you are done.
Not yet. Sorry about that. Some other surprise issues got in the way this week that took priority… but I’ll bring this up again in our next team meeting for next week. I want to see this issue get resolved too.
Just curious if you were able to confirm that this issue is fixed on your Noria tablet?
If so, then we’ll close this issue out on our end.
And thanks for letting us borrow your tablet. We’re ready to give it back to you. Feel free to swing by our office to pick it up. Afternoon on a weekday would best. Thanks again!