• 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: Mystery interference with AirPlay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mystery interference with AirPlay
      • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
References: 
 >Re: Mystery interference with AirPlay (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Mystery interference with AirPlay
  • Next by Date: Re: Mystery interference with AirPlay
  • Previous by thread: Re: Mystery interference with AirPlay
  • Next by thread: Re: Mystery interference with AirPlay
  • Index(es):
    • Date
    • Thread