1

Is that possible? How is this done in theory? Would I simply make a very small buffer packet size and then delay the playback artificially? I assume that's the low-brain way? How could I do it in such a way that the sound is smooth and doesn't suck?

dontWatchMyProfile
  • 45,440
  • 50
  • 177
  • 260

2 Answers2

2

AudioQueueSetParameter with kAudioQueueParam_PlayRate should do the trick

https://developer.apple.com/library/mac/documentation/MusicAudio/Reference/AudioQueueReference/Reference/reference.html#//apple_ref/c/func/AudioQueueSetParameter

joels
  • 7,249
  • 11
  • 53
  • 94
1

Delaying playback will cause stuttering in the audio. Perhaps this question might point the way?

Community
  • 1
  • 1
Frank Shearar
  • 17,012
  • 8
  • 67
  • 94