> > 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.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