Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

iPhone supports only single audio source?

Discussion in 'iOS and tvOS' started by aerende, Jul 20, 2010.

  1. aerende

    aerende

    Joined:
    Apr 27, 2009
    Posts:
    316
    When I try to play two audio sources at once, only one plays and I get the following warning:

    • iPhone supports only single audio source with compressed audio.


    1) Does this mean that if the audio is not compressed I can play multiple audio sources at once?

    2) Or am I limited to only one audio source total?

    3) I noticed that Zombieville can play a) music, b) gun shot and c) hit sounds all at the same time. Is there a trick to this?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,602
    1) yes

    3) see 1
     
  3. aerende

    aerende

    Joined:
    Apr 27, 2009
    Posts:
    316
    Any suggestion on what audio format to use for un-compressed audio that has a reasonable size? A WAV version of one of my audio sources is about 8 times the MP3 version.
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,602
    WAV is the correct format.

    that it is 8 times as large is no problem cause you only use it for effects etc.

    the background track can still be in mp3, no prob (you can play 1 compressed + x uncompressed. just keep in mind that uncompressed ones will eat memory and cpu time)
     
unityunity