AudioToolbox - Callback delay while recording

后端 未结 1 1297
你的背包
你的背包 2021-01-13 15:08

I\'ve been working on a very specific project for iOS, lately, and my researches lead me to an almost final code. I\'ve solved all the extreme difficulties I\'ve found until

相关标签:
1条回答
  • 2021-01-13 15:56

    The Audio Queue API seems to run on top of the RemoteIO Audio Unit API, who's real audio buffer size is probably unrelated to, and in your example larger than, whatever size your Audio Queue buffers are. So whenever a RemoteIO buffer is ready, a bunch of your smaller AQ buffers quickly get filled from it. And then you get a longer delay waiting for some larger buffer to be filled with samples.

    If you want better controlled (more evenly spaced) buffer latency, try using the RemoteIo Audio Unit directly.

    0 讨论(0)
提交回复
热议问题