Sample rate with bluetooth headphone and AVAudioSessionCategoryPlayAndRecord
Sample rate with bluetooth headphone and AVAudioSessionCategoryPlayAndRecord
- Subject: Sample rate with bluetooth headphone and AVAudioSessionCategoryPlayAndRecord
- From: Beinan Li <email@hidden>
- Date: Fri, 06 Mar 2015 11:47:19 -0500
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?
_______________________________________________
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