Home > other >  About CocosCreator music speakers
About CocosCreator music speakers

Time:09-27

Use CocosCreator edit music playback function, use the following two lines of code pages can local debugging and close to normal,,
But with AndroidStudio packaging shing zhuo after installation package, music can be normal, but turned out to be from the receiver, cannot be played from the speaker, solving,

1,
 cc. AudioEngine. PlayMusic (url, loop) 

2,
 cc. AudioEngine. StopMusic () 


  • Related