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 -

c# - How to clone a HttpRequestMessage when the original request has Content? -

split - php explode string with Uppercase if lowercase letter exists before it without space -