# Can't get any sound on iphone7s

**URL:** <https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296>\
**Category:** FMOD Studio\
**Created:** [July 17, 2017, 12:46pm UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296 "2017-07-17T12:46:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 17, 2017, 12:46pm UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/1 "2017-07-17T12:46:42Z")

</div>

None of the examples of 1.09 api can work on my iphone7s, and i can play music with other app.  
Here’s a log of them.

[LOG] System::create : Header version = 1.09.06. Current version = 1.09.06.  
[LOG] Manager::init : maxchannels = 1024 studioflags = 00000000 flags 00000000 extradriverdata 0x0.  
[LOG] SystemI::init : FMOD Studio Version: 00010906 (88495)  
[LOG] SystemI::init : maxchannels = 1024, flags = 00020000, extradriverdata = 0x0  
[LOG] SystemI::setOutputInternal : Setting output to type 0  
[LOG] SystemI::setOutputInternal : Setting output to type 12  
[LOG] SystemI::setOutputInternal : Setting output to type 12  
[LOG] OutputCoreAudio::init : Hardware buffer size: 512 samples, hardware sample rate: 24000Hz, hardware channels: 2  
[LOG] OutputCoreAudio::init : Maximum hardware read size: 4096 samples, Software buffer size: 512 samples, Number of software buffers: 4.  
[WRN] OutputCoreAudio::init : DSP buffer size \* DSP num buffers is potentially too small.  
[LOG] SystemI::init : Create master channel group and master sound group.  
[LOG] DownMix::init : dspbuffersize: 512 rate: 24000. output speaker mode: 3, input speaker mode 6  
[LOG] DownMix::init : done.  
[LOG] SystemI::init : Set up emulated output. 1024 channels  
[LOG] SystemI::init : create the channel pool  
[LOG] SystemI::init : create the stream thread  
[LOG] Thread::initThread : Init FMOD stream thread. Priority: 2, Stack Size: 65536, Semaphore: No, Sleep Time: 10, Looping: Yes.  
[LOG] Thread::initThread : Init FMOD mixer thread. Priority: 1, Stack Size: 49152, Semaphore: Yes, Sleep Time: 0, Looping: Yes.  
[LOG] AsyncManager::init : manager 0x11806e608 isAsync 1 updatePeriod 0.02  
[LOG] Thread::initThread : Init FMOD Studio update thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
[LOG] AsyncManager::init : done  
[LOG] PlaybackSystem::init :  
[LOG] Thread::initThread : Init FMOD Studio sample load thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
[LOG] PlaybackSystem::init : done  
[LOG] Thread::initThread : Init FMOD Studio bank load thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
[LOG] Manager::init : done.  
[LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
[LOG] PlaybackSystem::acquireMasterBus : Setting master channel group format to 6  
[LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
[LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
[LOG] SystemI::createSoundInternal : filename = : mode 02000202  
[LOG] SystemI::createSoundInternal : exinfo-\>cbsize = 232  
[LOG] SystemI::createSoundInternal : exinfo-\>length = 126208  
[LOG] SystemI::createSoundInternal : exinfo-\>fileoffset = 17664  
[LOG] SystemI::createSoundInternal : exinfo-\>numsubsounds = 1  
[LOG] SystemI::createSoundInternal : exinfo-\>inclusionlist = 0x16e452bb8  
[LOG] SystemI::createSoundInternal : exinfo-\>inclusionlistnum = 1  
[LOG] SystemI::createSoundInternal : exinfo-\>suggestedsoundtype = 5  
[LOG] SystemI::createSoundInternal : exinfo-\>useropen = 0x1001d5360  
[LOG] SystemI::createSoundInternal : exinfo-\>userclose = 0x1001d542c  
[LOG] SystemI::createSoundInternal : exinfo-\>userread = 0x1001d5468  
[LOG] SystemI::createSoundInternal : exinfo-\>userseek = 0x1001d5538  
[LOG] SystemI::createSoundInternal : exinfo-\>fileuserdata = 0x117d03c08  
[LOG] SystemI::DSPCodecPoolRegister : register codec pool for pool type 5  
[LOG] SystemI::createSoundInternal : Format has 1 subsounds.  
[LOG] SystemI::createSoundInternal : Create as FMOD\_CREATESAMPLE  
[LOG] SystemI::createSoundInternal : Multi-sample sound (1 subsounds), create a sample container.  
[LOG] SystemI::createSoundInternal : creating subsound 0/1  
[LOG] SystemI::createSample : mode 02000202 length 144000 samples, lengthbytes 25344  
[LOG] SystemI::createSample : channels = 1  
[LOG] SystemI::createSample : output = 0x117d085b8  
[LOG] OutputSoftware::createSample : lengthpcm 144000, lengthbytes 25344, channels 1, format 2, freq 48000, mode 0200020a  
[LOG] SystemI::createSoundInternal : No name found in file, use filename.  
[LOG] SystemI::createSoundInternal : done. OpenState now = FMOD\_OPENSTATE\_READY.

[LOG] SystemI::createSound : filename = /var/containers/Bundle/Application/1D242982-38C0-4A2D-9322-284C154A323A/programmer\_sound.app/media/640169main\_Press to ATO.ogg : mode 00010202  
[LOG] SystemI::createSound : FMOD\_NONBLOCKING specified. Putting into queue to be opened asynchronously!  
[LOG] OutputSoftware::createSample : lengthpcm 0, lengthbytes 0, channels 0, format 0, freq 0, mode 00000000  
[LOG] Thread::initThread : Init FMOD nonblocking thread (0). Priority: 1, Stack Size: 81920, Semaphore: Yes, Sleep Time: 0, Looping: Yes.  
[LOG] SystemI::createSound : setdata soundi = 0x117dc1c08 : node = 0x117d03c20  
[LOG] SystemI::createSound : add node to async list : head = 0x117d03618. list count = 0  
[LOG] AsyncThread::threadFunc : Starting Asynchronous operation on sound 0x117dc1c08  
[LOG] SystemI::createSoundInternal : filename = /var/containers/Bundle/Application/1D242982-38C0-4A2D-9322-284C154A323A/programmer\_sound.app/media/640169main\_Press to ATO.ogg : mode 00010202  
[LOG] SystemI::createSoundInternal : Format has 0 subsounds.  
[LOG] SystemI::createSoundInternal : Create as FMOD\_CREATESAMPLE  
[LOG] SystemI::createSoundInternal : creating subsound 0/0  
[LOG] SystemI::createSample : mode 00010002 length 111744 samples, lengthbytes 44767  
[LOG] SystemI::createSample : channels = 2  
[LOG] SystemI::createSample : output = 0x117d085b8  
[LOG] OutputSoftware::createSample : lengthpcm 111744, lengthbytes 44767, channels 2, format 2, freq 44100, mode 0001000a  
[LOG] SystemI::createSoundInternal : No name found in file, use filename.  
[LOG] SystemI::createSoundInternal : done. OpenState now = FMOD\_OPENSTATE\_READY.

[LOG] AsyncThread::threadFunc : Finished Asynchronous operation on sound 0x117dc1c08  
[LOG] SoundI::release : Press to ATO (0x117dc1c08)  
[LOG] SoundI::release : release codec. (0x117dc1c08)  
[LOG] SoundI::release : done

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 19, 2017, 5:57am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/2 "2017-07-19T05:57:26Z")

</div>

> [@](#):
>
> None of the examples of 1.09 api can work on my iphone7s, and i can play music with other app.  
> Here’s a log of them.
> 
> [LOG] System::create : Header version = 1.09.06. Current version = 1.09.06.  
> [LOG] Manager::init : maxchannels = 1024 studioflags = 00000000 flags 00000000 extradriverdata 0x0.  
> [LOG] SystemI::init : FMOD Studio Version: 00010906 (88495)  
> [LOG] SystemI::init : maxchannels = 1024, flags = 00020000, extradriverdata = 0x0  
> [LOG] SystemI::setOutputInternal : Setting output to type 0  
> [LOG] SystemI::setOutputInternal : Setting output to type 12  
> [LOG] SystemI::setOutputInternal : Setting output to type 12  
> [LOG] OutputCoreAudio::init : Hardware buffer size: 512 samples, hardware sample rate: 24000Hz, hardware channels: 2  
> [LOG] OutputCoreAudio::init : Maximum hardware read size: 4096 samples, Software buffer size: 512 samples, Number of software buffers: 4.  
> [WRN] OutputCoreAudio::init : DSP buffer size \* DSP num buffers is potentially too small.  
> [LOG] SystemI::init : Create master channel group and master sound group.  
> [LOG] DownMix::init : dspbuffersize: 512 rate: 24000. output speaker mode: 3, input speaker mode 6  
> [LOG] DownMix::init : done.  
> [LOG] SystemI::init : Set up emulated output. 1024 channels  
> [LOG] SystemI::init : create the channel pool  
> [LOG] SystemI::init : create the stream thread  
> [LOG] Thread::initThread : Init FMOD stream thread. Priority: 2, Stack Size: 65536, Semaphore: No, Sleep Time: 10, Looping: Yes.  
> [LOG] Thread::initThread : Init FMOD mixer thread. Priority: 1, Stack Size: 49152, Semaphore: Yes, Sleep Time: 0, Looping: Yes.  
> [LOG] AsyncManager::init : manager 0x11806e608 isAsync 1 updatePeriod 0.02  
> [LOG] Thread::initThread : Init FMOD Studio update thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
> [LOG] AsyncManager::init : done  
> [LOG] PlaybackSystem::init :  
> [LOG] Thread::initThread : Init FMOD Studio sample load thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
> [LOG] PlaybackSystem::init : done  
> [LOG] Thread::initThread : Init FMOD Studio bank load thread. Priority: 0, Stack Size: 65536, Semaphore: No, Sleep Time: 1, Looping: No.  
> [LOG] Manager::init : done.  
> [LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
> [LOG] PlaybackSystem::acquireMasterBus : Setting master channel group format to 6  
> [LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
> [LOG] Manager::readBank : fileversion = 86, compatVersion = 86 (oldest = 44, newest = 88)  
> [LOG] SystemI::createSoundInternal : filename = : mode 02000202  
> [LOG] SystemI::createSoundInternal : exinfo-\>cbsize = 232  
> [LOG] SystemI::createSoundInternal : exinfo-\>length = 126208  
> [LOG] SystemI::createSoundInternal : exinfo-\>fileoffset = 17664  
> [LOG] SystemI::createSoundInternal : exinfo-\>numsubsounds = 1  
> [LOG] SystemI::createSoundInternal : exinfo-\>inclusionlist = 0x16e452bb8  
> [LOG] SystemI::createSoundInternal : exinfo-\>inclusionlistnum = 1  
> [LOG] SystemI::createSoundInternal : exinfo-\>suggestedsoundtype = 5  
> [LOG] SystemI::createSoundInternal : exinfo-\>useropen = 0x1001d5360  
> [LOG] SystemI::createSoundInternal : exinfo-\>userclose = 0x1001d542c  
> [LOG] SystemI::createSoundInternal : exinfo-\>userread = 0x1001d5468  
> [LOG] SystemI::createSoundInternal : exinfo-\>userseek = 0x1001d5538  
> [LOG] SystemI::createSoundInternal : exinfo-\>fileuserdata = 0x117d03c08  
> [LOG] SystemI::DSPCodecPoolRegister : register codec pool for pool type 5  
> [LOG] SystemI::createSoundInternal : Format has 1 subsounds.  
> [LOG] SystemI::createSoundInternal : Create as FMOD\_CREATESAMPLE  
> [LOG] SystemI::createSoundInternal : Multi-sample sound (1 subsounds), create a sample container.  
> [LOG] SystemI::createSoundInternal : creating subsound 0/1  
> [LOG] SystemI::createSample : mode 02000202 length 144000 samples, lengthbytes 25344  
> [LOG] SystemI::createSample : channels = 1  
> [LOG] SystemI::createSample : output = 0x117d085b8  
> [LOG] OutputSoftware::createSample : lengthpcm 144000, lengthbytes 25344, channels 1, format 2, freq 48000, mode 0200020a  
> [LOG] SystemI::createSoundInternal : No name found in file, use filename.  
> [LOG] SystemI::createSoundInternal : done. OpenState now = FMOD\_OPENSTATE\_READY.
> 
> [LOG] SystemI::createSound : filename = /var/containers/Bundle/Application/1D242982-38C0-4A2D-9322-284C154A323A/programmer\_sound.app/media/640169main\_Press to ATO.ogg : mode 00010202  
> [LOG] SystemI::createSound : FMOD\_NONBLOCKING specified. Putting into queue to be opened asynchronously!  
> [LOG] OutputSoftware::createSample : lengthpcm 0, lengthbytes 0, channels 0, format 0, freq 0, mode 00000000  
> [LOG] Thread::initThread : Init FMOD nonblocking thread (0). Priority: 1, Stack Size: 81920, Semaphore: Yes, Sleep Time: 0, Looping: Yes.  
> [LOG] SystemI::createSound : setdata soundi = 0x117dc1c08 : node = 0x117d03c20  
> [LOG] SystemI::createSound : add node to async list : head = 0x117d03618. list count = 0  
> [LOG] AsyncThread::threadFunc : Starting Asynchronous operation on sound 0x117dc1c08  
> [LOG] SystemI::createSoundInternal : filename = /var/containers/Bundle/Application/1D242982-38C0-4A2D-9322-284C154A323A/programmer\_sound.app/media/640169main\_Press to ATO.ogg : mode 00010202  
> [LOG] SystemI::createSoundInternal : Format has 0 subsounds.  
> [LOG] SystemI::createSoundInternal : Create as FMOD\_CREATESAMPLE  
> [LOG] SystemI::createSoundInternal : creating subsound 0/0  
> [LOG] SystemI::createSample : mode 00010002 length 111744 samples, lengthbytes 44767  
> [LOG] SystemI::createSample : channels = 2  
> [LOG] SystemI::createSample : output = 0x117d085b8  
> [LOG] OutputSoftware::createSample : lengthpcm 111744, lengthbytes 44767, channels 2, format 2, freq 44100, mode 0001000a  
> [LOG] SystemI::createSoundInternal : No name found in file, use filename.  
> [LOG] SystemI::createSoundInternal : done. OpenState now = FMOD\_OPENSTATE\_READY.
> 
> [LOG] AsyncThread::threadFunc : Finished Asynchronous operation on sound 0x117dc1c08  
> [LOG] SoundI::release : Press to ATO (0x117dc1c08)  
> [LOG] SoundI::release : release codec. (0x117dc1c08)  
> [LOG] SoundI::release : done

My headphone can hear the sound.

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 20, 2017, 1:02am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/3 "2017-07-20T01:02:15Z")

</div>

yes, it’s correct with my headphones. And i don’t get any sound from the main speaker of the phone with this example, but i can get sound from other apps.

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [July 20, 2017, 12:46am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/4 "2017-07-20T00:46:26Z")

</div>

Can I confirm, is the sound playing correctly through your headphones? But not through the main speaker of the phone?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 23, 2017, 11:27pm UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/5 "2017-07-23T23:27:10Z")

</div>

What settings/calls are you making to AudioSessions?

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 24, 2017, 11:20am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/6 "2017-07-24T11:20:46Z")

</div>

I didn’t change the example settings, and the code is exactly the same with the official api example.  
[http://www.fmod.org/download/fmodstudio/api/iOS/fmodstudioapi10906ios-installer.dmg](http://www.fmod.org/download/fmodstudio/api/iOS/fmodstudioapi10906ios-installer.dmg)

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 25, 2017, 1:26am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/7 "2017-07-25T01:26:31Z")

</div>

It’s my fault, I have found the reason. My girlfriend had turned the sound button off !!! It’s a little button on one side of the iphone.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 25, 2017, 2:01am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/8 "2017-07-25T02:01:30Z")

</div>

No worries, glad you found the solution.

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [July 18, 2017, 1:42am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/9 "2017-07-18T01:42:38Z")

</div>

What FMOD example is that logging output from?

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 18, 2017, 4:05am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/10 "2017-07-18T04:05:45Z")

</div>

> [@](#):
>
> What FMOD example is that logging output from?

it’s “programmer\_sound”.

---

<div class="post-metadata">

**Author:** ![w2moon](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@w2moon](https://qa.fmod.com/u/w2moon)\
**Post date:** [July 18, 2017, 4:08am UTC](https://qa.fmod.com/t/cant-get-any-sound-on-iphone7s/13296/11 "2017-07-18T04:08:30Z")

</div>

My xcode is 8.3.3.
