loudness: Fix aliasing violations

Change-Id: I49670d80776b8d5f9012adbc39c71e6d9e4850c9
Signed-off-by: zwliew <zhaoweiliew@gmail.com>