Re: Mystery interference with AirPlay
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=Aazjfj6APhHlhkQ8q9Evu3cxdiZYDeUwtuk7A2Ijx+E=; b=afHnyHrGnY9Wmny6dR43k1zritPSCP72JWuMlDlZHoajC6c+ghAFb8zZV2JhXGdfr0 xeXTaY+N2JCrskdTJeeYVv7fgvz9SVOjxs7rMAhQRE3Y57bWj2D77zoIAUgeGO8PqW8/ BDgt37QnTVdsr6TtufEiVs6bDpynBqWHhLblAoFNPjtAgXm4KQa46QICj82QHgK420Sz DNDX/OrtWAOXwInVhfIIjEN7tAgpGxbEbqLzDeLLIZxef+8727roZqlkaqrsteRxK1B1 bTvjYX57h+UMGOtYJMJZ7aNpf9ibqn5g9jApT9IaxPjSPSiBLjEcNRhufCG93Xel2yUq SRFQ==
On Jun 15, 2022, at 12:56, Gabriel Zachmann via Cocoa-dev <cocoa-dev@lists.apple.com> 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 (Cocoa-dev@lists.apple.com)
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: https://lists.apple.com/mailman/options/cocoa-dev/admin.szatmari.net%40gmail...
This email sent to admin.szatmari.net@gmail.com
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Sandor Szatmari via Cocoa-dev