hypersurge/awe6

Demo app crashes with target mac

Closed this issue · 4 comments

What steps will reproduce the problem?
1. Take demo app from the SVN
2. compile using nme test awe6.nmml mac
3. start the game, move mouse over button

What is the expected output? What do you see instead?
Rollover effect, instead app crashes. It seems that _kernel.audio seems to be 
the problem, as soon as this line is removed rollover-effect works. Then 
crashes on click, when _kernel.audio is removed here it works and so on.

What version of the product are you using? On what operating system?
Haxe 2.0.9, NME 3.3.2, newest HXCPP from SVN Trunk, newest awe6 from Trunk r434


Original issue reported on code.google.com by tobias.r...@gmail.com on 24 May 2012 at 8:20

Try changing the audio format in awe6.core.drivers.nme.AudioManager (line 50) 
from ".ogg" to ".mp3".  Or try other codecs (and add the appropriate resources 
to the nmml files).  What audio format would you normally work with on a Mac?  
Let us know what works.

Original comment by robert.f...@hypersurge.com on 24 May 2012 at 8:55

  • Changed state: Started
Yes, Mp3 is working. But the Menu Music stops as soon as one moves over the 
button. aac doesn't, even though the file exists I get an error message: 

Assets.hx:215: [nme.Assets] There is no Sound asset with an ID of 
"assets/audio/MusicMenu.aac"
Assets.hx:150: [nme.Assets] There is no BitmapData asset with an ID of 
"assets/audio/MusicMenu.aac"
Assets.hx:188: [nme.Assets] There is no Font asset with an ID of 
"assets/audio/MusicMenu.aac"


Original comment by andr...@ardex.de on 25 May 2012 at 4:26

And the mp3 seems to be playing at least twice as fast.

Original comment by andr...@ardex.de on 25 May 2012 at 4:28

Yes, mp3 suffers same issues on Windows (double timed and unreliable looping).  
aac "should" work, but NME doesn't recognise it as a sound format by default 
(iirc) - so you need to tag it as such in the nmml.

I am closing this issue as it's really NME usage related, rather than a code 
bug.  Thanks.

Original comment by robert.f...@hypersurge.com on 25 May 2012 at 4:35

  • Changed state: WontFix