steam-audio
steam-audio copied to clipboard
[C API] Const correctness
Heyo, I was wondering if there was any possibility of having some "const correctness" to the input buffers of effects and the parameters/settings of creating contexts/hrtf/simulators/etc.
For example for applying the binaural effect to an input buffer:
IPLAPI IPLAudioEffectState IPLCALL iplBinauralEffectApply(IPLBinauralEffect effect, IPLBinauralEffectParams* params, IPLAudioBuffer* in, IPLAudioBuffer* out);
being changed to
IPLAPI IPLAudioEffectState IPLCALL iplBinauralEffectApply(IPLBinauralEffect effect, const IPLBinauralEffectParams* params, const IPLAudioBuffer* in, IPLAudioBuffer* out);
Or are they writing to the parameters/input buffer?
This issue has been automatically marked stale, and will automatically be closed in 30 days if no activity occurs.
commenting to keep open