RemoteIO recording with sample rate conversion
RemoteIO recording with sample rate conversion
- Subject: RemoteIO recording with sample rate conversion
- From: Andreas Gustafsson <email@hidden>
- Date: Mon, 20 Aug 2018 15:10:40 +0300
Hi all,
Does iOS support recording audio from the RemoteIO Audio Unit at a
fixed sample rate chosen by the app, with automatic sample rate
conversion when the app's sample rate does not match that of the
hardware, without doing simultaneous playback?
And if so, could someone point me at some documentation or sample
code showing how to do it correctly? The aurioTouch example does not
apply because it does simultaneous recording and playback, not
recording only.
My experience is that simultaneous recording+playback using a render
callback as in aurioTouch works fine, but when I try to record
without simultaneous playback by using an input callback
(kAudioOutputUnitProperty_SetInputCallback), the recorded audio is
garbled when sample rate conversion occurs. I just can't figure out
whether this is a bug in my app, a bug in iOS, or simply something
that was never guaranteed to work.
--
Andreas Gustafsson, email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden