OpenAL Listener Gain broken in latest iOS.

Setting AL_GAIN on a listener, using OpenAL in iOS, no longer works on latest iOS.


On old iOS, you can silence the audio by setting it to 0.

On iOS 11.4 this no longer works.


alListenerf( AL_GAIN, gain );


Instead, I need to set the gain to zero on all individual sources now.


Same code works fine on Linux, and old iOS versions.

Replies

set gain to 0.001f instead of 0 for it to work somehow. Bug was sadly never resolved.