Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SKAction playSoundFileNamed plays white noise

I'm trying to play an aiff file using SKAction. This code results in white noise being played in the simulator and on my iPod :

SKAction *sound = [SKAction playSoundFileNamed:@"noise1.aiff" waitForCompletion:NO];
[self runAction:sound];

The sound file is valid, it works when I use the Amazing Audio Engine. Anyone know what's wrong?

Thanks

like image 589
Typo Johnson Avatar asked Jan 11 '14 11:01

Typo Johnson


1 Answers

Just faced with the same issue.

These settings helped me:

enter image description here

like image 97
Andrey Gordeev Avatar answered Oct 20 '22 06:10

Andrey Gordeev