Skip to content

Instantly share code, notes, and snippets.

@SunXiaoShan
Created July 19, 2019 01:42
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/5fa835bec250d88e5ac8c4fd7260c795 to your computer and use it in GitHub Desktop.
Save SunXiaoShan/5fa835bec250d88e5ac8c4fd7260c795 to your computer and use it in GitHub Desktop.
// Step 4: fill the buffer to AudioQueue
status = AudioQueueEnqueueBuffer(
audioQueue,
audioQueueBuffer,
ioNumPackets,
packetDescs
);
if (status != noErr) NSLog(@"AudioQueueEnqueueBuffer failed %d", status);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment