Commit Graph

19 Commits

Author SHA1 Message Date
Aleksei Bavshin ea17a66dfc
fix: compilation errors with cpp_std=c++20
There were two main issues with fmtlib and C++20 mode:

 - `fmt::format` defaults to compile-time argument checking and requires
   using `fmt::runtime(format_string)` to bypass that.
 - `std::format` implementation introduces conflicting declarations and
   we have to specify the namespace for all `format`/`format_to` calls.
2023-01-20 22:50:02 -08:00
kennypm 59e57ab9a0 man page and adjust default format 2022-08-18 17:05:04 -04:00
kennypm 56d46e62c1 add samplerate callback since pipewire supports dynamic samplerate changes 2022-08-12 11:30:12 -04:00
kennypm a7979a3e56 add locks and refactor for clarity 2022-08-11 17:26:27 -04:00
kennypm bfed2114e4 jack_client_close working properly now 2022-08-11 15:49:24 -04:00
kennypm ddd5b4e157 refactor 2022-08-07 15:29:42 -04:00
kennypm 15dbe8965e fix Linter error 2022-07-19 22:36:59 -04:00
kennypm decc5bcd68 namespace cleanup 2022-07-19 22:34:35 -04:00
kennypm 92870cab2a namespace cleanup 2022-07-19 22:30:42 -04:00
kennypm 4cb2cc9f21 fix Linter errors 2022-07-19 21:54:36 -04:00
kennypm 02df861829 fix Linter errors 2022-07-19 21:53:32 -04:00
kennypm 23eaffc04b fix Linter errors 2022-07-19 21:49:56 -04:00
kennypm 4cd6024f07 move issue from comment to Issues 2022-07-19 19:36:48 -04:00
kennypm 8b5f42d934 remove unnecessary libprocps dependency 2022-07-19 19:27:39 -04:00
kennypm 318a6e0969 fix segfault when stopping JACK2 server 2022-07-19 01:38:56 -04:00
kennypm c7b09eea11 changed callbacks to use static_cast 2022-07-19 01:38:56 -04:00
kennypm bc8517fd08 fix callbacks 2022-07-19 01:38:56 -04:00
kennypm 9439e4183c fix callbacks 2022-07-19 01:38:56 -04:00
Kenny Phelps-McKeown 8fc8bb40bf Initial commit for Waybar JACK monitoring module
-DSP load
  -xruns
  -connected/disconnected state
  -only tested with Pipewire so far but should work with JACK2 as well

 On branch dsp
 Changes to be committed:
	modified:   include/factory.hpp
	new file:   include/modules/jack.hpp
	modified:   meson.build
	modified:   meson_options.txt
	modified:   src/factory.cpp
	new file:   src/modules/jack.cpp
2022-07-19 01:38:35 -04:00