Re: Mystery interference with AirPlay

2022-06-15 Thread Sandor Szatmari via Cocoa-dev


> 
> On Jun 15, 2022, at 12:56, Gabriel Zachmann via Cocoa-dev 
>  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.com
> 
> This email sent to admin.szatmari@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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Gabriel Zachmann via Cocoa-dev
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?

Best , G.




smime.p7s
Description: S/MIME cryptographic signature
___

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Glenn L. Austin via Cocoa-dev
Do you use the AV framework to play videos?

If so, that sets up to play sound even if you don't actually play any sound.

--
Glenn L. Austin, Computer Wizard and Race Car Driver <><


> On Jun 15, 2022, at 9:33 AM, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
> There is no sound whatsoever from my app.
> 
> 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/glenn%40austinsoft.com
> 
> This email sent to gl...@austinsoft.com



signature.asc
Description: Message signed with OpenPGP
___

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Gabriel Zachmann via Cocoa-dev
There is no sound whatsoever from my app.

Best, G.



smime.p7s
Description: S/MIME cryptographic signature
___

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Alex Zavatone via Cocoa-dev
My guess is that your app is playing sound which will stop any currently 
playnig airplay audio.

If that is the case, I’m not sure if there is an in app setting to not 
interrupt airplay audio.

Alex Zavatone



> On Jun 15, 2022, at 3:44 AM, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
> I have a macOS app that plays a slideshow, and no music/sound whatsoever.
> 
> One user has reported that whenever he launches my app, his music played over 
> AirPlay stops.
> 
> Does anyone have an idea what might be causing this?
> I have no clue where to search or what to look for.
> Making matters worse, I don't have AirPlay.
> 
> Any and all ideas and hints will be highly appreciated.
> 
> Best, Gab.
> 
> ___
> 
> 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/zav%40mac.com
> 
> This email sent to z...@mac.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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Keary Suska via Cocoa-dev
A more useful response may be that you may already have devices that support 
AirPlay. By any chance have you checked to see if any devices show under the 
AirPlay menu in the Music desktop app? Note that Mac computers can AirPlay to 
each other. Many smart TV’s support AirPlay, as do most modern Internet-enabled 
receivers. Also note that devices might need to be turned on to be found.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

> On Jun 15, 2022, at 7:26 AM, Steven Mills via Cocoa-dev 
>  wrote:
> 
> On Jun 15, 2022, at 03:44:41, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
>> Making matters worse, I don't have AirPlay.
> 
> Everybody has Airplay. It's a feature, not a thing.
> 
> --
> Steve Mills
> Drummer, Mac geek
> 
> ___
> 
> 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/cocoa-dev%40esoteritech.com
> 
> This email sent to cocoa-...@esoteritech.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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Mystery interference with AirPlay

2022-06-15 Thread Steven Mills via Cocoa-dev
On Jun 15, 2022, at 03:44:41, Gabriel Zachmann via Cocoa-dev 
 wrote:

> Making matters worse, I don't have AirPlay.

Everybody has Airplay. It's a feature, not a thing.

--
Steve Mills
Drummer, Mac geek

___

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Mystery interference with AirPlay

2022-06-15 Thread Gabriel Zachmann via Cocoa-dev
I have a macOS app that plays a slideshow, and no music/sound whatsoever.

One user has reported that whenever he launches my app, his music played over 
AirPlay stops.

Does anyone have an idea what might be causing this?
I have no clue where to search or what to look for.
Making matters worse, I don't have AirPlay.

Any and all ideas and hints will be highly appreciated.

Best, Gab.



smime.p7s
Description: S/MIME cryptographic signature
___

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com