audio.loadSound in ios 9.2

I have an app plays sounds by calling the ״audio.loadSound״

Everything works properly on simulators and devices with OS 9.1

When I try to run the application on real device with OS 9.2 - sounds not loaded.

The call to audio.loadSound returns null.

I tried to run the Corona’s example code for playing sounds - CoronaSDK / SampleCode / Media / AudioPlayer

and everything works as expected.

I tried to insert this code into my project and sounds are not working.

Any ideas where is the problem?

Thanks

What happens if you try and use your sounds in our working sample app?
 

Rob

Thank you.

I found the problem,

This line:

audio.set Session Property (1768907364, 0.001);

Once I removed this line everything works.

Can someone explain to me what does it do?

Hi @zeve,

That call is not an officially supported audio API, so we can’t recommend that you use it.

Best regards,

Brent

What happens if you try and use your sounds in our working sample app?
 

Rob

Thank you.

I found the problem,

This line:

audio.set Session Property (1768907364, 0.001);

Once I removed this line everything works.

Can someone explain to me what does it do?

Hi @zeve,

That call is not an officially supported audio API, so we can’t recommend that you use it.

Best regards,

Brent