MediaPlayer Ruins my Sound Engine

Discussion in 'iOS Programming' started by zcarter, Sep 17, 2008.

  1. zcarter macrumors member

    Apr 21, 2007

    I'm playing a video on the iPhone using my mediaframework and I also initialize about 10 sounds before the video plays.

    After the video somehow destroys all sound initializations and they don't work...but if i comment out the video it works fine..Any ideas how to prevew this so I can do all the loading in the beginning?


  2. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    One possibility... You might have to suspend your audio session while the media player runs. Look at the speakhere example for some audio session example code.

Share This Page