You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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!
The text was updated successfully, but these errors were encountered:
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
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.
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!
The text was updated successfully, but these errors were encountered: