audio mixer: minor optimizations

Signed-off-by: Samuel Casa <samuelcasa9@gmail.com>