[wdmaudiodev] Re: AERT_Allocate "size" parameter & how to use AERT_x with std::vector
- From: Robert Bielik <Robert.Bielik@xxxxxxxxx>
- To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Wed, 24 Oct 2018 12:12:41 +0000
Fancy seeing you here... 😉
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?
I have an implementation of a custom allocator for std::vector which I think
you could modify to suit your needs.
Other related posts: