audio mixer: refactoring and documentation

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