Re: AVAudioPlayer playback via speaker?
Re: AVAudioPlayer playback via speaker?
- Subject: Re: AVAudioPlayer playback via speaker?
- From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>
- Date: Thu, 10 Dec 2009 00:24:12 -0800
Are you recording too? If so, then you need to use audiosessionproperty in order to override the fact that when recording, the sound out is switched to the phone speaker, not the bigger speaker. I guess this is to prevent possible feedback, or recording of what the iPhone is playing.
See: http://www.iphonedevsdk.com/forum/iphone-sdk-development-advanced-discussion/12890-audiosessionsetproperty-problem-playing-sound-listening-mic.html#post63965
On Dec 9, 2009, at 7:13 AM, tahome izwah wrote:
> Hi all,
>
> sorry if this is an innocent question, maybe I'm just too tired: given
> an AVAudioPlayer how do I choose programmatically which playback
> device to use on the iPhone? Right now it's playing through the phone
> but I'd like to use the speaker ("play it loud").
>
> Thanks
> --th
> _______________________________________________
> 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
_______________________________________________
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