Simliar to this post by stackoveflow: getting pcm audio for visualization via Spotify iOS SDK
I want to add an AudioUnit callback to the destination node, as suggested by Spotify in the above post.
However, I cannot figure out how to get AudioUnit from the node destination. I study Core Audio and its documentation; however, it is unclear how to get a link to an audio unit in an existing AUNode.
Any help would be appreciated! My ultimate goal is to create a reactive type of user interface based on the power level of the audio stream.
source
share