simpleaudioengine - Why I play/preload soundEffect with error in cocos2dx (ios)? -


चाहे ध्वनि या प्रभाव से पहले लोड हो।

यहां कोड:

  CocosDenshion :: SimpleAudioEngine :: sharedEngine () - & gt; playEffect ( "debug.mp3");   

मुझे यह त्रुटि मिल जाएगी: ExtAudioFileOpenURL

दर्ज करें छवि विवरण यहाँ

एप में ध्वनि फ़ाइल मौजूद है और फ़ाइल सही है।

यहां छवि विवरण दर्ज करें

अब मैं इसे ठीक करता हूं इसके कारण मैं "सभी सी + अपवाद" जोड़ता हूं।

छवि विवरण यहां दर्ज करें < / P>

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -