- Give CHECK_DEVICE_INDEX a suitable error message

The error messages of CHECK_DEVICE_INDEX and CHECK_GAIN are the same. I think they should be different.