|
From: Tarim <so...@me...> - 2015-10-02 14:29:15
|
Curiouser and curiouser!
play xx.wav < /dev/null
works fine.
and, when I boot with the previous kernel, Ubuntu 3.13.0-63-generic:
play xx.wav
works fine!
I'm now thinking that this is actually a bug in the latest Ubuntu kernel
3.13.0-65.105-generic where select's FD_ISSET returns true even when
there is no data to read!
Sox checks to see if there is a 'v' or 'V' from the keyboard to control
the volume - FD_ISSET returns true and getchar() returns -1. Can't
quite see why sox checks kbhit() in a while loop rather than with an if,
but perhaps I should take that up on the developers list.
Finding it hard to believe this bug could slip through into the kernel -
but I've reported it to the Ubuntu kernel group - so we'll see if they
tell me it's just me going mad.
Cheers,
Tarim
|