Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of dispatch_queue_t ? #635

Open
NyaomiDEV opened this issue Sep 5, 2023 · 1 comment
Open

Usage of dispatch_queue_t ? #635

NyaomiDEV opened this issue Sep 5, 2023 · 1 comment

Comments

@NyaomiDEV
Copy link

I was trying to build myself a little hacky thing to control what's playing on my Mac from another application, however, to do that I need to get MediaRemote to work (which is almost fairly easy, just use CFBundleCreate and start from there.)

The issue I found is that there's no sign of something I can use to get a dispatch_queue_t ref to pass to, for example, void MRMediaRemoteGetNowPlayingInfo(dispatch_queue_t queue, MRMediaRemoteGetNowPlayingInfoCallback block).

Am I missing something?

@madsmtm
Copy link
Contributor

madsmtm commented Sep 5, 2023

I'd recommend you check out the dispatch crate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants