• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AVAudioPlayer playback via speaker?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AVAudioPlayer playback via speaker?
      • From: tahome izwah <email@hidden>
References: 
 >AVAudioPlayer playback via speaker? (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Problem with Set/Get volume of input device with single channel
  • Next by Date: Snack library for tcltk - CoreAudio Issues
  • Previous by thread: AVAudioPlayer playback via speaker?
  • Next by thread: Re: AVAudioPlayer playback via speaker?
  • Index(es):
    • Date
    • Thread