[openal] OpenAL fails with OSS on FreeBSD

Yuri yuri at rawbw.com
Thu Dec 1 23:19:23 EST 2016

On 12/01/2016 20:05, Yuri wrote:
> I think there is a bug in qTox: the result of deviceName.toUtf8() is 
> temporary, and disappears by the time of the call to alcOpenDevice.
> tmpDevName should be dissolved, and expression brought into 
> alcOpenDevice argument:
> alOutDev = 
> alcOpenDevice(deviceName.isEmpty()?nullptr:deviceName.toUtf8().constData());
> I will verify this. 

Yes, this fixed the problem: https://github.com/qTox/qTox/issues/3904

Thank you for your help, Chris!


More information about the openal mailing list