Re: Mystery interference with AirPlay
Re: Mystery interference with AirPlay
- Subject: Re: Mystery interference with AirPlay
- From: Sandor Szatmari via Cocoa-dev <email@hidden>
- Date: Wed, 15 Jun 2022 14:19:32 -0400
>
> On Jun 15, 2022, at 12:56, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> I am using only:
>
> o NSBeep()
> o NSSound
> 0 and link to these frameworks: CoreLocation, Foundation, Cocoa, ScreenSaver,
> QuartzCore, ApplicationServices, AppKit, Photos, MediaLibrary, IOKit
>
> Does any of those cause trouble?
If your app registers to play sound, which sounds like is happening without you
intending it to, your app would ‘acquire’ the sound device and preempt other
audio. There are ways to play audio without preempting other audio sources, at
least on the iPhone, Instagram will play sound with existing audio playback and
not stop them. But that’s not the point just a curiosity. Why would they do
that? Most use cases you want to preempt audio because listening to multiple
sources of unrelated audio rarely makes sense… except for alerts and the like
usually.
I can’t point you in the right direction but find out what is acquiring the
audio device. Start with your multimedia playback code. What are you using to
play the ‘video’?
Sandor
>
> Best , G.
>
>
> _______________________________________________
>
> 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