• 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: Playing through speaker, recording through line in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing through speaker, recording through line in


  • Subject: Re: Playing through speaker, recording through line in
  • From: William Stewart <email@hidden>
  • Date: Wed, 3 Feb 2010 18:59:50 -0800

it can't at this point. 

On Feb 1, 2010, at 1:45 PM, Alex Wiltschko wrote:

I haven't played with the iPod Touch, but I've experienced what you detail for the iPhone.
Having the speaker play out and the microphone acquire audio creates some really nasty feedback, since I'm acquiring audio and playing it out simultaneously. 

I wouldn't mind sending audio to both the speaker & headset, as long as the audio input comes from the line input/headset.

Any ideas on how to force the iPhone to do this?

Alex

On Mon, Feb 1, 2010 at 3:30 PM, Hamilton Feltman <email@hidden> wrote:
I've found that using the speaker override on an iPhone, it silences the headset output, and uses the speaker output and microphone on the device (provided you call it after the headset has been plugged in).

Calling the speaker override on an iPod touch will send output to the headset AND the speaker out, and uses the headset mic. Not sure if this is the intended behavior, but that's what happens.


On Mon, Feb 1, 2010 at 6:55 AM, Alex Wiltschko <alex.bw@gmail.com> wrote:


---------- Forwarded message ----------
From: Alex Wiltschko <alex.bw@gmail.com>
Date: Mon, Feb 1, 2010 at 9:54 AM
Subject: Re: Playing through speaker, recording through line in
To: Aran Mulholland <email@hidden>


Right, I've done the route override already.

But, for the app I'm building, the "headset" input will actually just be a mono line-in signal.
So, in this case, there are no headphones to play the signal back through.

Again, want to acquire audio from the line input, and output audio from the speaker. Possible?

Alex


On Mon, Feb 1, 2010 at 1:54 AM, Aran Mulholland <email@hidden> wrote:
from the audio session services reference -
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Cookbook/Cookbook.html



UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;  // 1

AudioSessionSetProperty (
   kAudioSessionProperty_OverrideAudioRoute,                         // 2
   sizeof (audioRouteOverride),                                      // 3
   &audioRouteOverride                                               // 4
);

--meaning you can override the output of the audio. I have found doing
this i had to then monitor if the headphone was plugged in etc and
redirect.

The user expects the output to come out the headphones if they are plugged in.

aran



 _______________________________________________
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: Playing through speaker, recording through line in
      • From: Alex Wiltschko <email@hidden>
    • Re: Playing through speaker, recording through line in
      • From: Alex Wiltschko <email@hidden>
References: 
 >Fwd: Playing through speaker, recording through line in (From: Alex Wiltschko <email@hidden>)
 >Re: Playing through speaker, recording through line in (From: Hamilton Feltman <email@hidden>)
 >Re: Playing through speaker, recording through line in (From: Alex Wiltschko <email@hidden>)

  • Prev by Date: Re: kAudioUnitProperty_InPlaceProcessing
  • Next by Date: Re: kAudioUnitProperty_InPlaceProcessing
  • Previous by thread: Re: Playing through speaker, recording through line in
  • Next by thread: Re: Playing through speaker, recording through line in
  • Index(es):
    • Date
    • Thread