rodio
rodio copied to clipboard
play_raw should reject any source that does not match the sample rate of the device's selected format
The function play_raw, as it's name implies, should reject playing any source which has a different sample rate/channels than the selected device because it would cause audio distortion because of the lack of filters. Additionally play_raw should not insert any filters between the source and the backend CPAL.