audiomixer: add new channel volume API 32/29532/5
authorAshok Sidipotu <ashok.sidipotu@collabora.com>
Thu, 14 Dec 2023 10:49:21 +0000 (16:19 +0530)
committerAshok Sidipotu <ashok.sidipotu@collabora.com>
Fri, 15 Dec 2023 07:09:40 +0000 (08:09 +0100)
commit5567e12699dcc6584a620d2682430e3882dc0907
treea2378a5199b94566d2cf5311d6f394ad5569cfb9
parentf6eb75678f6c08c4eb3fe232f814834319611ff7
audiomixer: add new channel volume API

- 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>
src/audiomixer.c
src/audiomixer.h
src/audiomixertest.c