[nas] Of non-callback NAS, OpenAL backends, and 'fatal IO error 0'.
Yotam Gingold
ygingold at cs.brown.edu
Sat Apr 28 09:10:25 MDT 2001
I've been working at writing an OpenAL backend using nas.
I've tried to use code from the audioss library, nas_open, nas_write, and
nas_close, which looked very well suited to the task.
I also tried to integrate the playRaw.c code into the the backend.
Both times I get stuck on the same error message:
AuIO: fatal IO error 0 (Error 0) on audio server "local/:0"
after 3 requests (0 known processed) with 0 events remaining.
Sometimes (rarely) the 3 requests are 10.
Once in a blue moon this error message doesn't show up-- but no sound is
played.
It seems to happen during an AuNextEvent in my playRaw-derived code.
Any ideas?
Some sort of Flow where I can WriteElement every time I get data and not
worry about much else would be better suited to my task, I think.
I wouldn't have to worry about callbacks and an EventLoop for my
blitbuffer function which is already a callback itself.
The audioss calls nas_open/close/write seemed like they would be perfect
for this... but that same error above prevented anything interesting from
happening.
Any ideas?
Thanks,
Yotam
More information about the Nas
mailing list