Can SuperpoweredAdvanceAudioPlayer work invoked from Swift?

时间:2018-01-01 02:12:37

标签: swift superpowered

I have a Swift project that has successfully bridged into much SuperPowered functionality (accessing waveform, BPM, Key). Now I'm trying to use SuperpoweredAdvanceAudioPlayer to play back. I've followed my existing patterns to access the library from Swift. It's compiling but no audio is playing. I have seen this comment here "Swift note: We have also tried creating this project in Swift, but itÕs not complete for audio and several features were impossible to implement (such as proper performance measurement). Swift is not designed for real-time audio. Fortunately, Objective-C++ files work great in Swift projects."

Should I interpret that as meaning it's not possible to play in SuperpoweredAdvanceAudioPlayer called from Swift?

Just would like to know before I spend more time trying to figure out if it's a problem with my code.

If the answer is "yes it should be possible" the I can post up some code

1 个答案:

答案 0 :(得分:0)

尝试SDK中的SuperpoweredFrequencies示例项目,它展示了如何在Swift和Objective-C ++之间架起桥梁。