As AudioSessionSetProperty may become deprecated, I\'m trying to find an code example of how to route audio to the speaker using other
AudioSessionSetProperty
deprecated
speaker
Foundry’s solution together with this blog by Mario Diana has also allowed me to upgrade audio session set up code deprecated in iOS 7. My old code was based on AudioBufferPlayer by Matthijs Hollemans. Remember to add the AVFoundation.framework.