[Openal-devel] openal-soft

Lukasz Pawelczyk havner at pld-linux.org
Fri Feb 8 18:35:40 PST 2008


Chris Robinson wrote:
> Ah..
> 
>         snprintf(buf, sizeof(buf), "'( (sampling-rate %d ))\n", AvpFrequency);
> 
>         AvpSoundDevice = alcOpenDevice(buf);
> 
> Seems its using an SI-specific initialization config (which the spec does 
> allow for, but also says it's implementation dependant). Simply using NULL 
> instead of buf, or an empty string for buf, should work.

It could be nice to solve the above issue as well. Does your 
implementation allow passing config options the same way? If it does 
then maybe just warning and ignore the string on parse error, if it 
doesn't maybe just ignore the whole string completely?

In the above case one can fix the source, but there might be some closed 
source programs that are affected by it as well and that would be 
problematic.

-- 
Regards    Havner                     {jid,mail}:havner(at)pld-linux.org
                    "Quis custodiet ipsos custodes?"


More information about the Openal-devel mailing list