Skip to content

Instantly share code, notes, and snippets.

@SunXiaoShan
Created July 19, 2019 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SunXiaoShan/aa482eda33382f2e6205bbf4a2a76a63 to your computer and use it in GitHub Desktop.
Save SunXiaoShan/aa482eda33382f2e6205bbf4a2a76a63 to your computer and use it in GitHub Desktop.
static void BufferCallback(void *inUserData,AudioQueueRef inAQ,
AudioQueueBufferRef buffer) {
AudioPlayerManager *manager = (__bridge AudioPlayerManager *)inUserData;
[manager audioQueueOutputWithQueue:inAQ queueBuffer:buffer];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment