AVAudioSessionCategoryPlayAndRecord with kSystemSoundID_Vibrate fails...
AVAudioSessionCategoryPlayAndRecord with kSystemSoundID_Vibrate fails...
- Subject: AVAudioSessionCategoryPlayAndRecord with kSystemSoundID_Vibrate fails...
- From: whitehexagon <email@hidden>
- Date: Tue, 29 May 2012 00:41:27 -0700 (PDT)
Since I switched my AVAudioSession from:
AVAudioSessionCategoryPlayback
to:
AVAudioSessionCategoryPlayAndRecord
The call to AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) no
longer functions. My guess is that this is to avoid feedback. But
the API also says it supports sequential record & playback, ie. that
they are not happening concurrently. In that case I would expect the
vibrate to still work? It's the same with the audio volume level
lowering. Is there some way to reverse these side-effects? Tested
under iOS4 and iOS5.
Thanks
Peter
_______________________________________________
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