feat: Add functions to directly get and set pan
Closed this issue · 1 comments
the-byte-bender commented
Description
As of the time of writing, there is no getPan or setPan functions to directly set and get the pan value of a handle. However, soloud does provide such functions. The only way to set pan as of yet, is to provide a pan
value to play()
, or use the fadePan
method, but that is not appropriate when you just need to instantly change pan
, or when you need to just get the current value.
Requirements
- Add a function to get the current pan value of a handle.
- Add a function to set the current pan value of a handle.
Additional Context
We are making a game using this, and directly getting / setting pan is required for us, so we would appreciate it if this can be looked into.
Thanks.
alnitak commented
@the-byte-bender sorry I forgot to write that this feature has been merged in main branch. Not yet on pub.dev