Yes, it sets the dB value. Looking at the docs I probably should have used the linear API to avoid any weird scaling issues. Thanks for the feedback!