Subject: /dev/sound, non-blocking IO, and select
To: None <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 04/06/2005 21:40:54
Hey folks --
This might be a silly question, but I might as well ask anyway.
I'm working on an application that opens /dev/sound O_RDWR, O_NONBLOCK.
There's then a select() loop that looks for data coming in from the
audio device (among other places), and wakes up when it can read from
The problem: select on the /dev/sound fd is never saying that data is
available. Why is this the case? Isn't there always sound available to
I'm working off a 3.99.3 kernel, by the way.