How can we fix this if we don’t know anything about this? You haven’t submitted a bug. You haven’t described the specific problem. You haven’t provided a simple reproducible test case. You didn’t even mention a build number. (Maybe this has already been fixed. We worked on a case a week or two ago.)
And many would disagree with you about the old media functions working ‘fine’.
You can’t load compressed formats with eventSound
You can’t play more than one stream simultaneously
You can’t stop, pause, or seek event sounds
Vert short event sounds may not get played
onComplete callbacks disappear if the same event sound is played simultaneously
no volume control with event sound sound
[import]uid: 7563 topic_id: 10780 reply_id: 39211[/import]
Marco, I can’t find your stuff in our bug database. It would really help if you could submit a new bug with a simple reproducible test case. Looking at the crash log from the other thread, it appears to be a crash inside Apple’s implementation. If you haven’t already, please file a bug with Apple because I suspect they are going to have to fix that to ultimately fix your problem. You may also want to test with a newer OS. Apple has made OpenAL fixes/changes since 4.0.
If you can supply us a simple reproducible test case, we might be able to help you come up with a work around depending on what the issue is. This new audio system has been out for half a year now. We have not received many crashing reports about it, so you are probably using it differently than most people. Figuring out that difference might help us solve the problem.
@ewing,
I agree about all the benefits of OpenAL that you have mentioned, but it caused a lot of grief, even the simulator that never ever crashed, crashed on me several times, change the routines to Media. and it works like a charm.
Put it on the device, OpenAL would start to leak like crazy, put in media and it is fine with an occasional leak here and there.
I am using build 512, (2011.4.12) I will try to send/attach the crash logs onto the bug db, but right now I want to finish the game and ship it.
@Ewing,
while at it, do you think we can also get the pan and gain functionality of openAL? I guess that will offer some nice positional sounds and help add realism.
Officially, OpenAL effects are low on the priority list since few people are requesting them and Android support is sucking up all the oxygen. However, as you might have seen elsewhere (http://developer.anscamobile.com/forum/2011/05/25/hidden-audio-module-corona-sdk), there are secret APIs already in Corona. I’m trying to find some time to write about those.