开发者

move sound from left to right

开发者 https://www.devze.com 2023-01-23 01:38 出处:网络
How to move sound from le开发者_如何学运维ft to right of earphones in iPhone?I think you want the pan property of the AVAudioPlayer. Check the AVAudioPlayer documentation

How to move sound from le开发者_如何学运维ft to right of earphones in iPhone?


I think you want the pan property of the AVAudioPlayer. Check the AVAudioPlayer documentation

From the pan property:

By setting this property you can position a sound in the stereo field. A value of –1.0 is full left, 0.0 is center, and 1.0 is full right.


Check out the sample app on Apple website: oalTouch


On IPhone 4 iOS 5.0 if you go to general, then accesablility and scroll down, there is an option to do what you need

0

精彩评论

暂无评论...
验证码 换一张
取 消