
20 Feb
2020
20 Feb
'20
12:59 p.m.
On Wed, Feb 19, 2020 at 03:11:47PM -0600, Dan Murphy wrote:
I was looking at using the DAPM calls and use PGA_E and define an event but there really is no good way to get the current volume setting.
Store it in a variable in the driver's private data (there's a number of examples of doing that for various controls, the process doesn't change just because it's a volume), or if you've got a register cache it could be just as easy to do the register reads and combine the values.