Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
127 views
in Technique[技术] by (71.8m points)

ios - Are there any differences between AVFoundation and AudioToolbox in performance in swift?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You would have to read about the frameworks and see which one is suitable for your use-case.

You should start with this: https://developer.apple.com/audio/

These frameworks are not substitute to each other. They are built for covering various levels of interaction.

For example, if your use-case is covered by using AVPlayer or Media Player then you do not need to use other framework. In case, you need something more out of the system u may consider other lower level frameworks.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...