Abhimanyu Abhimanyu - 1 year ago 78
Objective-C Question

Is it possible to run Audio file alternatively in two ear phone?

I have to run Audio file alternatively in right and left ear phone ? I have process sound such that it will heard right and left both alternatively?

Answer Source

To direct Audio to either the left or right speaker, you use the .pan property of AVAudioPlayer. You can balance it in the center (the default of 0.0) or send it all left (-1.0) or all right (1.0)


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download