• 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: Tony Guetta <email@hidden>
  • Date: Thu, 29 Jul 2010 20:45:21 -0700

You might want to check out kAudioSessionProperty_OverrideCategoryDefaultToSpeaker in AudioServices.h

Tony

On Jul 29, 2010, at 7:56 PM, Brad wrote:

>
>> 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

 _______________________________________________
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

References: 
 >Re: Setting volume programmatically (From: Brad <email@hidden>)

  • Prev by Date: Re: Setting volume programmatically
  • Next by Date: Re: SimplePlayThru moved?
  • Previous by thread: Re: Setting volume programmatically
  • Next by thread: multichannel mixer render callback problems
  • Index(es):
    • Date
    • Thread