Read volume value from AC app?

I would like to make an app that reads the current sound volume of a specific sound device and shows the result on screen. I already have the second part, but is it possible in Python to read the volume or get that data from Simhub? (it's the app that controls de volume of my shakers).
 
I don't have a piece of code that will do exactly what you want, but I'm pretty certain you can do it, if by no more elegant means than using ctypes. The Sidekick app is an example of how ctypes can be used (it basically calls some functions in the USER32 DLL to let it provide hotkeys in a way that AC itself can't).
 

Latest News

How often do you meet up (IRL) with your simracing friends?

  • Weekly

    Votes: 29 9.0%
  • Monthly

    Votes: 16 4.9%
  • Yearly

    Votes: 23 7.1%
  • Weekly at lan events

    Votes: 2 0.6%
  • Monthly at lan events

    Votes: 1 0.3%
  • Yearly at lan events

    Votes: 7 2.2%
  • Never have

    Votes: 254 78.4%
Back
Top