Hi
I’m working on a space shooter. When touching the engine buttons, a thrust sound shall continue as long the button is touched. I tried audio api, but the lag (on a s3) is intolerable. I read that media api is faster, but have problems implementing it. When I use media event, the sound starts, but I cant stop, pause or start it anymore. The used thrust.wav is a white noise, 20 secs long. How would you do this? Here is the needed structure;
If touch began
Play/resume sound
Elseif ended or cancelled
Pause sound
End
Is this possible with media api?
Thanks for your help!
Olivier