Hi CoreAudio,

When using AVAudioSessionCategoryPlayAndRecord,
if the app start off with a plugged headphone, the sample rate is
whatever we set it to before enabling the session and AU output;
however, when it switches to a bluetooth headphone,
the sample rate is force-lowered to 8kHz internally,
observed in RouteChangeNotification handler.
This does not happen with AVAudioSessionCategoryAmbient.

I'm trying to figure out if this is by design but I cannot find
a doc section or a tech note about this in the Xcode doc.

Can anyone clarify this?

Thanks,
Beinan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to