Re: [Plib-devel] SL blocking
Brought to you by:
sjbaker
From: Trent G. <tm...@cy...> - 2000-05-25 19:20:48
|
* Steve Baker <sjb...@ai...> wrote: > From the way SL is supposed to meter it's data rate > to suit the rate it's disappearing into the sound card, > this shouldn't matter - but I guess you wouldn't have said > this if it worked OK for you. > > Could you explain? (Not that I mind making the change - I > just like to understand what's going on). Sorry, it's nothing like that. The call to open just hangs forever if there is something else using the device. Adding O_NONBLOCK makes that call fail and return right away, and then a dummy driver is set up I think? |