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

Use API for play\pause media state instead of volume detection #2

Open
AmadeusW opened this issue Dec 9, 2019 · 0 comments
Open

Use API for play\pause media state instead of volume detection #2

AmadeusW opened this issue Dec 9, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@AmadeusW
Copy link
Owner

AmadeusW commented Dec 9, 2019

I dug around Windows.Media namespace to see whether we can detect the play\pause state in Windows 10, as indicated by the play\pause button.
media

I couldn't find a solution. It looks like the play\pause state is available to individual playback devices, but we have no access to other's playback devices. I decided to fall back to measuring volume on the sound card using legacy APIs.
If you know how to access the global play\pause state in Windows 10, let us know!

@AmadeusW AmadeusW added the help wanted Extra attention is needed label Dec 9, 2019
@AmadeusW AmadeusW changed the title See if Windows 10 exposes API for play\pause state Use API for play\pause media state instead of volume detection Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant