[wdmaudiodev] AERT_Allocate in an sAPO

  • From: "Troels Blum (TBLU) (Consultant)" <tblu@xxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 7 Nov 2018 14:30:01 +0000

According to the documentation I MUST use AERT_Allocate for memory allocation 
when developing an sAPO:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff536213(v=vs.85).aspx

So I have two questions:

  1.  According to the documentation of HRESULT AERT_Allocate(size_t size, void 
  **pMemory);
Size is the number of input connections - what does that even mean? Is it not 
the amount of memory in bytes?


  1.  I get an error when allocating more that 32k of memory using 
AERT_Allocate??? I need more that 32k of memory. What to do?


I see that this question has been asked before, but never answered: 
https://www.freelists.org/post/wdmaudiodev/AERT-Allocate-in-an-sAPO

Best regards
Troels Blum

Other related posts: