aboutsummaryrefslogtreecommitdiffstats
path: root/src/audiomixertest.c
AgeCommit message (Collapse)AuthorFilesLines
2024-09-04audiomixertest: improve wording of messages and help textGeorge Kiagiadakis1-34/+30
Bug-AGL: SPEC-4934 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I767f7ee6bcc89b1eafad48472a06304159ef2dfe
2024-09-04audiomixertest: improve codebase to make it work correctly with wp 0.5George Kiagiadakis1-73/+62
- 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
2023-12-15audiomixer: add new channel volume APIAshok Sidipotu1-19/+112
- Add API to control left and right channel volumes. - Fix a bug in treble gain update. The changed gain value of Treble is not updated in the audiomixer as the gain changed callback(on_eq_params_changed) doesnt look beyond bass for gain controls. Fix this issue by continuing to look beyond bass control. - Adjust the floating point comparision epsilon value from 0.000001 to 0.00001. Bug-AGL: SPEC-4931 Change-Id: I2a242d08f194b66abd84bb31a97364884e8d2a1d Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
2023-12-08audiomixer: Add gain controlsAshok Sidipotu1-0/+329
- Add Equalizer gain controls. - Add a simple app to test the controls. Bug-AGL: SPEC-4931 Change-Id: Ib33eb0e829747c401861e99acd67291462ec6a97 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>