HalosGhost / dstat

A lightweight status program for simple WMs
GNU General Public License v2.0
8 stars 0 forks source link

Link to libasound and fill out audio status functions #2

Closed HalosGhost closed 7 years ago

HalosGhost commented 8 years ago

At the moment, the rewrite does not have functional audio status reporting, we need to add this functionality back. But, as we are striving for ISO C now, we will not be using popen(), so the only option is linking to libpulse or libasound and fetching the needed information directly.

This will increase the size of our program, but should actually make us faster since we will not be shelling out; we will also drop a runtime dependency (pre-rewrite used ponymix).

HalosGhost commented 7 years ago

via ac1aae558e688af5d1dcc5afb793e8e9e464a65e