Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to bind input arrays #3

Open
msub2 opened this issue Jul 31, 2023 · 3 comments
Open

Figure out how to bind input arrays #3

msub2 opened this issue Jul 31, 2023 · 3 comments

Comments

@msub2
Copy link
Owner

msub2 commented Jul 31, 2023

For a signature like this

SetSpeakerAngles(const AkReal32 *in_pfSpeakerAngles, AkUInt32 in_uNumAngles, AkReal32 in_fHeightAngle, AkOutputDeviceID in_idOutput=0)

I still need to figure out the correct way to convert something like that AkReal32* parameter

@msub2
Copy link
Owner Author

msub2 commented Jul 31, 2023

Okay, have figured out how to go about this with vectors, registering vectors, and using vec.data() for the pointer most of the functions want. Have had one work and one kinda sorta work, will see how the rest do

@msub2
Copy link
Owner Author

msub2 commented Aug 2, 2023

That was actually mostly for out values for arrays being passed into the function, not so much arrays as input themselves

@msub2
Copy link
Owner Author

msub2 commented Aug 9, 2023

Started to figure out a pattern using vectors, still not quite sure how to handle char** though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant