[openal] problem with alc_is_extension_present?

Chris Robinson chris.kcat at gmail.com
Fri Apr 8 09:45:13 EDT 2016

On 04/08/2016 06:12 AM, Michael Taboada wrote:
> Hi,
> I was working on my simple openal soft abstraction layer, and was having
> trouble getting hrtf to enable. I finally tracked down the premature
> exit of my enable method to the part where it checks to see if the hrtf
> extension is present, and if not just returns false. I know the hrtf
> extension is present (I'm running openal soft 1.17.2), and the sample
> code below shows it is. My repository can be found at
> https://github.com/lilmike/sound3d. My sample code to test it is below,
> any thoughts welcome on why it's thinking the hrtf extension is not
> present.


It looks like you're checking the wrong string:
alcIsExtensionPresent(device, "ALC_HRTF_SOFT")
should be:
alcIsExtensionPresent(device, "ALC_SOFT_HRTF")

More information about the openal mailing list