Circular Buffer Audio Recording iOS: Possible?

前端 未结 1 1188
时光说笑
时光说笑 2021-01-14 06:14

A client of mine wants to continually record audio and when he clicks submit he wants to submit the last 10 seconds only. So he wants a continual recording and only keeping

1条回答
  •  北恋
    北恋 (楼主)
    2021-01-14 06:55

    I would use the Audio Queue Services. This will allow you isolate certain parts of the buffer. Here is the guide to it: http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/AQRecord/RecordingAudio.html#//apple_ref/doc/uid/TP40005343-CH4-SW1

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