Naoya OYAMA <naoya.oyama <at> gmail.com> writes:
> + if (bps == 0 && srate == 0) { // last resort
> + srate = 48000; //fake value
> + bps = 768000/8; //fake value
Shouldn't this be
if (!bps)
bps = 768000/8;
if (!srate)
srate = 48000;
?
Applied the other hunks, thank you, Carl Eugen