tinyalsa/tinyalsa — pull request #14 by kyoungpark (2012-05-10 17:54:15+00:00)
Title: add error check for pcm_start in pcm_read

- Otherwise, read will be tried even after pcm_start is failed.
This leads into blocking inside the read ioctl forever.
pcm_start can fail, for example in full-speed USB audio device,
in some H/W, due to the lack of bandwidth in USB bus,