There are basically two methods to play sounds, accomplished using two different frameworks :
1. AuidoToolbox framework
2. AVFoundation framework
The difference between AudioToolbox and AVFoundation framework is that AudioToolbox is used for short lengthen sounds whereas the AVFoundation is used for longer sounds.
In AVFoundation, when one sound is being played and the next is turned on then the previous one would be stopped.
Examples for both these will be published in upcoming posts :)
1. AuidoToolbox framework
2. AVFoundation framework
The difference between AudioToolbox and AVFoundation framework is that AudioToolbox is used for short lengthen sounds whereas the AVFoundation is used for longer sounds.
In AVFoundation, when one sound is being played and the next is turned on then the previous one would be stopped.
Examples for both these will be published in upcoming posts :)
No comments:
Post a Comment