Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Music only played through earphones

Discussion in 'iOS and tvOS' started by xema25, Apr 27, 2016.

  1. xema25

    xema25

    Joined:
    Aug 24, 2013
    Posts:
    37
    Hi, I'm making an app and I discover that in one device in particular (iPhone 6S) the music of the game is not beeing played but the sound fx are. But if I connect an earphones, it worked, you can hear the music through the earphones and the sound FX. (The mobile is not muted or anything)

    The differences between the music and the sounds are:

    Music
    • Format: mp3 192kbps
    • Loading type: Streaming
    • Compresion: Vorbis
    • Quality: 100
    • Sample rate: Preserve Sample Rate
    • They are played as the clip of an audio source and in loop mode
    Sound FX
    • Format: wav
    • Loading type: Decompress on Load
    • Compresion: PCM
    • Sample Rate: Preserve Sample Rate
    • They are played using the PlayOneShot function of an audio source.

    On other ios devices, iphone 4, 5, 6 and ipad air it works perfectly.


    Any idea about this issue?

    Thanks

    PS. Could it be an issue with that particular device and not something I did wrong? I dont have more iphone 6s to test, so I don't know :(
     
    Last edited: Apr 27, 2016
  2. xema25

    xema25

    Joined:
    Aug 24, 2013
    Posts:
    37
    Nobody? :(