diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2024-09-04 11:05:52 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2024-09-04 11:05:52 +0300 |
commit | 4ea6fd09054ae92ad10c5e0befc940507feb3ff0 (patch) | |
tree | ed131c5a67c41bee15c9b3d42dee91a8aa70fb51 /src/main.cpp | |
parent | e4bd427ac4573ddbbda65d5171b3dbdfba5f7688 (diff) |
audiomixertest: improve codebase to make it work correctly with wp 0.5
- Replace g_warning() with fprintf(), so that we don't need to enable
WIREPLUMBER_DEBUG to actually read those messages.
- Make it so that the help message can be printed before connecting
to pipewire and waiting for controls.
- Remove the race condition mitigation hack that was previously there,
in case ensure_controls() did not discover all controls initially.
- Lock the audiomixer properly when using its methods and structures.
Bug-AGL: SPEC-4934
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Ia4b9448dee83838858153f1c1c744e962294cd4e
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions