Commit ba2f6c5
authored
Volume reset for alsabat testing (#1010)
* lib.sh: rename function reset_PGA_volume to a more generic name
the volume ctl name PGA is for IPC3, IPC4 uses keyword gain.
so rename the function to a more generic name to cover IPC4.
Signed-off-by: Keqiao Zhang <[email protected]>
* lib.sh: add IPC4 gain volume ctl support in volume reset function
No all IPC4 gain controls can set 0dB directly, maybe there're
some problems there. As the alternative, use 100% for IPC4 gain.
Will be unified after the problem is fixed.
Signed-off-by: Keqiao Zhang <[email protected]>
* lib.sh: reset all sof volume to 0dB before alsabat testing
We have aligned that to use 0dB for all sof volume controls in CI test.
Signed-off-by: Keqiao Zhang <[email protected]>
---------
Signed-off-by: Keqiao Zhang <[email protected]>1 parent fbd2257 commit ba2f6c5
3 files changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
831 | 831 | | |
832 | 832 | | |
833 | | - | |
| 833 | + | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
837 | 841 | | |
838 | 842 | | |
839 | 843 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
0 commit comments