• 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: iOS play microphone to headphones
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS play microphone to headphones


  • Subject: Re: iOS play microphone to headphones
  • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Date: Mon, 7 Oct 2019 18:07:53 -0700


> On Oct 6, 2019, at 1:07 PM, Eric Dolecki via Cocoa-dev
> <email@hidden> wrote:
>
> Quick Swift question. Is it fairly easy to take audio and play it to
> headphones (not a recording) and be able to turn the microphone on/off? I’m
> not interested in doing any analysis, just turning outside audio on/off.

That's an audio question, not a Swift question. And audio stuff is rarely
straightforward.

I don't think AVFoundation covers 'live' stuff like this — it's more about
recording and playback — so you're probably looking at the CoreAudio layer,
which is a fairly gnarly C API with a lot of complex C data structures. I
wouldn't think writing Swift glue for that would be easy at all :(

[Disclaimer: I haven't done any audio programming in a few years, so I may not
know about some wonderful new Swift-level audio API that makes this easy.]

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iOS play microphone to headphones
      • From: Alex Zavatone via Cocoa-dev <email@hidden>
References: 
 >iOS play microphone to headphones (From: Eric Dolecki via Cocoa-dev <email@hidden>)

  • Prev by Date: iOS play microphone to headphones
  • Next by Date: Re: iOS play microphone to headphones
  • Previous by thread: iOS play microphone to headphones
  • Next by thread: Re: iOS play microphone to headphones
  • Index(es):
    • Date
    • Thread