- Sort Posts
- 7 replies
- Last post
[help] how to play audio when image trackable
March 12, 2013 - 1:22am #7
[help] how to play audio when image trackable
March 13, 2013 - 3:03am #4
thanks AlessandroB :D i've try it and it's success..
but is it possible play music and rendering 3d object at same time??
Hi, the Dominoes sample shows how to play a simple sound using the SoundPool Android API;
have a look at the class SoundManager class (SoundManager.java), and also to the file DominoesRenderer.java where this is used;
on the native side, have a look at the playSoundEffect() function in Dominoes.cpp (thius actually invokes the Java playSound method from native code).
Note however that how to play sounds in Android is beyond the scope of this Forum.