Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I want to play background music, at the same time when I press a key, a sound effect will play while the background music is playing. But the problem is when I made a keypress the background music will stop in just a couple of millisecond like maybe 50ms and very obvious.

I just created like 3 IMedia for each sound including the background music, then made an AEEMediaData for the three IMedia and use create instance. Then use IMedia_EnableChannelShare, after that, I played first the background music the when I keypres sa sound effect will play but unfortunately when I keypress the background music will stop just a couple of millisecond then play again.

What do you think is the problem?

Thanks.