tinymix : Print error messages if input values out of range

This adds one patch for tinymix.c

Add a error message if the input values are out of range