Re: iOS : ExtAudioFileWriteAsync alternatives / Audio Queue Services availability?

2018-02-14 Thread Matt Ingalls
Have you tried AVAudioFile? > On Feb 13, 2018, at 12:59 PM, Arshia Cont wrote: > > Hello list, > > This is my first post here so sorry if this is already asked! > > We have been using ExtAudioFileWriteAsync on iOS successfully to write two > PCM Audio Streams to

Re: iOS : ExtAudioFileWriteAsync alternatives / Audio Queue Services availability?

2018-02-14 Thread Matt Ingalls
OK I see what you are doing now. Sounds like increasing kExtAudioFileProperty_IOBufferSizeBytes could prevent an overflow. but maybe doing your own async writes would be safer :). ExtAudioFile is a pretty old API.. -m > On Feb 14, 2018, at 11:24 AM, Arshia Cont

Re: iOS : ExtAudioFileWriteAsync alternatives / Audio Queue Services availability?

2018-02-14 Thread Arshia Cont
Matt, Thanks for the reply! :) AVAudioFile would be one way to go except that I am recording live streams, and using AVAudioFile I should make the ‘write’ asynchronous myself and make sure the direct-to-disk stuff won’t hic the AudioIO thread. This is supposed to be the promise of

Re: iOS : ExtAudioFileWriteAsync alternatives / Audio Queue Services availability?

2018-02-14 Thread Dave O'Neill
ExtAudioFile has been great for me. I would be surprised if AVAudioFile wasn't build on top of it. Have you tried setting kExtAudioFileProperty_IOBufferSizeBytes to a higher value yet? Dave On Wed, Feb 14, 2018 at 2:02 PM, Arshia Cont wrote: > Huh.. Just needed some

Re: iOS : ExtAudioFileWriteAsync alternatives / Audio Queue Services availability?

2018-02-14 Thread Arshia Cont
Huh.. Just needed some one else to say it.. back to basics.. :) Thanks Matt for taking time to reply. Sent from my iPhone > On 14 Feb 2018, at 21:31, Matt Ingalls wrote: > > OK I see what you are doing now. > > Sounds like increasing kExtAudioFileProperty_IOBufferSizeBytes