Open voidumbrella opened 3 years ago
With the PulseAudio backend, attempting to open a stream with an unsupported sample format confusingly returns SoundIoErrorNoMem. An explicit check is added to test for PA_FORMAT_INVALID and return a more appropriate error.
SoundIoErrorNoMem
PA_FORMAT_INVALID
With the PulseAudio backend, attempting to open a stream with an unsupported sample format confusingly returns
SoundIoErrorNoMem
. An explicit check is added to test forPA_FORMAT_INVALID
and return a more appropriate error.