aboutsummaryrefslogtreecommitdiff
path: root/pulse
Commit message (Collapse)AuthorAgeFilesLines
* Factor out FormatableFloatValue from pulse pluginAndreas Grois2024-01-243-163/+14
| | | | to maybe reuse it in future plugins
* Update Rust edition to 2021Andreas Grois2021-11-291-1/+1
|
* Run clippy and fix all lints.Andreas Grois2021-11-293-28/+21
|
* Pulse: Make sure only one query is running at a time.Andreas Grois2021-11-292-13/+63
| | | | | There were rare cases where startup would cause an infinite loop in pulse.
* Update pulse help string and add a few serde renames.Andreas Grois2021-11-292-4/+41
|
* Fix handling of specific sinks with pulse.Andreas Grois2021-11-281-4/+4
| | | | | Before the initial update was missing. By always querying the default sink we properly grab server data first, and trigger the update.
* Implement working binning and sorting for pulse audio.Andreas Grois2021-11-282-18/+94
|
* Draft of binning code.Andreas Grois2021-11-281-2/+57
|
* Draft for volume binning config support.Andreas Grois2021-11-281-7/+37
|
* Rework Balance/Volume Settings to use the same generic struct.Andreas Grois2021-11-281-23/+95
| | | | | This is unfinished. The serialize/deserialize methods currently just return errors.
* Add "C" to all extern keywords.Andreas Grois2021-10-291-10/+10
|
* Fix all "not FFI-safe" warnings.Andreas Grois2021-10-291-22/+23
| | | | | The backside of the "fix" is that now there are some casts to and from c_void... But how else should that work?
* Ignore "dead code" warnings on FFI enums.Andreas Grois2021-10-282-10/+16
|
* Pulse now displays volume correctly.Andreas Grois2021-06-043-88/+395
| | | | | Still missing actual functionality beyond a numeric display, and error cases have not been tested, but hey, it's there!
* Unfinished (doesn't compile) implementation of pulse runnable loop.Andreas Grois2021-05-092-10/+152
| | | | | | | This is mainly as a note to my future self. A barebone implementation of the logic for the pulse runnable loop, where all details (meaning: functions to be called) are still not implemented - not even as signatures.
* Make (most) pulse nullptr checks unnecessary.Andreas Grois2021-05-083-49/+65
| | | | | This change makes respective functions return either a result or an option instead. The goal here is readability.
* Revert "Make runnable's run() method take a mutable self-reference."Andreas Grois2021-05-031-1/+1
| | | | | | | This reverts commit e1f0525e4e1dcf674aa7489042a06b7c7d671a2a. I've decided against having mutable self-references. It's a bit less convenient, but more sane. Also, the revert can be reverted any time, should the need arise.
* Move pulse context out of Runnable struct.Andreas Grois2021-05-031-21/+34
| | | | | | | | It's something that should be created after the runnable started, not when the runnable gets instantiated. Also, that way we can ensure that the context isn't moved between threads, as I'm not certain that's sane to do (meaning: using it from different threads, not sending the pointer).
* Properly quit pulse main function. Not that it'd matter.Andreas Grois2021-05-021-1/+5
| | | | | All that this cleanup does is set the return value... Apart from that, it's just like nuking the main loop by calling free...
* Create a pulse context. Seems to be working.Andreas Grois2021-05-022-6/+73
|
* Make runnable's run() method take a mutable self-reference.Andreas Grois2021-05-021-1/+1
| | | | | Because there is no real reason speaking against it, and it makes plugin development a lot easier.
* Factor out all unsafe code into its own module (unfinished)Andreas Grois2021-05-024-22/+112
|
* First draft of pulse architecture.Andreas Grois2021-05-015-0/+191