steam-audio icon indicating copy to clipboard operation
steam-audio copied to clipboard

"Seeking guidance on using IPLReflectionMixer in the Steam Audio C API"

Open ZheYinX opened this issue 8 months ago • 2 comments

Hi,
I'm confused about the usage of IPLReflectionMixer in the Steam Audio C API.
After outputting the results of IPLReflectionEffectApply from all sound sources to IPLReflectionMixer, how do I obtain the mixed result?
The IPLReflectionMixerApply function has a parameter of type ReflectionEffectParams. I’m not sure which source’s Params should be passed in here. Isn’t this object supposed to be used for mixing all the reflection results? Why is it asking for a single source’s Params? The documentation doesn’t mention how this object is used, so I’m really puzzled.

I’d greatly appreciate any small help. Thank you!

ZheYinX avatar Mar 23 '26 23:03 ZheYinX

Do any friends want to help me? Thanks!

ZheYinX avatar Mar 29 '26 01:03 ZheYinX

The problem has been solved. I used Copilot to search and found out how to set the Params of ReflectionMixer. Essentially, only the Type and NumChannels need to be set. However, I was misled because I output an error log, which caused me to not hear the final result. When I removed the validation and logs, I found that it could run normally.

ZheYinX avatar Mar 31 '26 08:03 ZheYinX