At 11:52 AM 7/24/2004 +0200, Gerd Spalink wrote:
After reading the discussion, I agree to give archetypes a try to fix dup.
I'll keep a copy of the linked list solution as a reference.
Gert,
I have the feeling that the main reason dup doesn't work is that
audioin_/out_ are not new'ed in the dup
Gert,
One reason why cat xxx.wav /dev/dsp doesn't work is that
the /dev/dsp driver sets close on exec. It shouldn't.
But it should have a fixup_after_exec.
One problem is that new calls calloc, and that won't be
preserved through execs. You need to use the cygheap
(ccalloc).
But is it necessary