Re: iOS play microphone to headphones
Re: iOS play microphone to headphones
- Subject: Re: iOS play microphone to headphones
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Tue, 8 Oct 2019 12:06:15 -0500
Doesn’t the user have to select the output device?
Sent from my iPhone
> On Oct 7, 2019, at 8:07 PM, Jens Alfke via Cocoa-dev
> <email@hidden> wrote:
>
>
>
>> 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
_______________________________________________
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