[wdmaudiodev] Re: vista/win7 APO questions

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 28 Dec 2009 10:15:27 -0800

Alex Green wrote:
>  
> Please consider the following examples:
>  
> Assume that there will be some information exchange between the input
> LFX and output GFX through a memory mapped file.
>  
> Or assume that there are multiple applications using the same input
> device (multiple instance LFXs) and there will be some information
> exchange among LFX instances.
>  
> For those cases, can I assume if APOProcess calls of GFXs and LFXs are
> serialized by AudioDG?  If preemption is possible then I need to
> protect and synchronize the exchanged information somehow agains the
> multithreading.

To the best of my knowledge, Microsoft makes no guarantees in this
regard.  However, I admit that the internals of the audio engine are
still a bit of a mystery.  Perhaps one of the audio team members can
comment on whether APOProcess calls are atomic or not.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

Other related posts: