I'm building a multiplatform application, when we build for windows the audio only works on the PC that builds it. When we build for tablets all sounds work, when we build for PC it is only the audio that isnt playing, soundeffects (s3eSound ) is working fine.

The sound paths we use are relative ( data / sounds ).

Is there something windows specific I need to be aware of, or does anyone have any ideas about where I can start looking?

Thanks,

Line

有帮助吗?

解决方案

The issue must be some path issue. The sound file is not available to marmalade on specified location. So it'd be the most probable reason. Another pitfall I can imagine is you're not making a build which includes the bin files(group.bin files). Thus the app could not locate the sound (which should be in the bin file).

You need to select proper asset group in deploy tool, if it's the case.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top