iphone - How to play 2 sounds simultaneously -


i have play 2 sounds in app...one background , 1 when user clicks button.....not have 1 sound background , many sounds button click.....all sounds in mp3 format....

i using avaudioplayer play these sounds...

my questions

1- can play these 2 mp3 sounds @ same time or should convert background sound other format....

2- using avaudioplayer play these sounds.....so can use 2 instances of avaudioplayer in same class......

please note want background music continuously playing.....

please help....

1., yes, can more..

2., yes can use avaudioplayer play these, each sound source have allocated separately.

if have short sounds not need stereo, can use system sound framework make them play.


Comments