Forgive me if this is a silly question. How do I find the gain of an AudioBuffer channel, relative to 0dB? The lack of an obvious function would lead me to believe that gain can be easily deduced from the samples themselves but I am not sure how. I’m asking because I’m looking to adjust gain relative to an existing level.
Any help would be much appreciated. Thanks!