Hello wdmaudiodev people.
I am developing an APO and am doing some cleaning up work, including
implementing AERT_Allocate for all my memory allocation. I have a
compound question:
1. The doc
https://docs.microsoft.com/en-us/windows/desktop/api/baseaudioprocessingobject/nf-baseaudioprocessingobject-aert_allocate
defines the "size" parameter as " The number of input connections." Is
this correct? It seems to me to be incomplete, as in without other info
(eg audio sample data format) this can't evaluate to a byte size... so can
someone please clarify what this paremeter should really mean? (I'm
guessing Bytes?)
2. I am currently using std:vector and std:queue for convenience to
manage IO buffering. Now that I am converting everything to use
AERT_Allocate, can someone please provide guidance/code snippet as to how I
can use AERT_Allocate in conjunction with eg std::vector - or do I have to
revert to pure C arrays in this case?
Thanks!
Culann