Re: PlayThru (was: AudioUnit for default input device)
Re: PlayThru (was: AudioUnit for default input device)
- Subject: Re: PlayThru (was: AudioUnit for default input device)
- From: Jeff Moore <email@hidden>
- Date: Tue, 20 Nov 2001 09:44:38 -0800
on 11/20/01 6:03 AM, James McCartney <email@hidden> wrote:
>
I've still not heard how we
>
are supposed to guarantee that we do not suffer a page fault in the IOProc.
There is no guarantee that this won't happen. The kernel doesn't provide any
mechanism in user space to wire down memory.
The good news is that your IOProc should keep the memory pretty hot so the
likelihood of taking a page fault is pretty low.
I suppose an enterprising developer could write a kernel extension to give
them the ability to allocate wired memory. It wouldn't be too difficult I
imagine. I'm pretty sure the kernel guys would want my head for even
suggesting this though =)
--
Jeff Moore
Core Audio
Apple