• 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: Setting volume programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting volume programmatically


  • Subject: Re: Setting volume programmatically
  • From: Brad <email@hidden>
  • Date: Thu, 29 Jul 2010 21:56:34 -0500


I have a simple iPhone app using RemoteIO to record (save the samples on
file) and playback on iPhone GS. It is based on SDK 3.1. It works now. But
the output to the speaker is very low even after turning on the iPhone
speaker to the max using the volume control on the left side of the iPhone.

Hopefully you're not doing what I was doing... setting the AVAudioSession setCategory: to AVAudioSessionPlayAndRecord. This allows both play and record, but routes playback through the earpiece (receiver) instead of the speaker and the volume is very low. Instead I use AVAudioSessionRecord when recording and then switch to AVAudioSessionPlay for playback, giving full range of volume.




_______________________________________________ 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: Setting volume programmatically
      • From: Tony Guetta <email@hidden>
  • Prev by Date: Play through (was Re: SimplePlayThru moved?)
  • Next by Date: Re: Setting volume programmatically
  • Previous by thread: Re: Setting volume programmatically
  • Next by thread: Re: Setting volume programmatically
  • Index(es):
    • Date
    • Thread