search for: al_rate

Displaying 1 result from an estimated 1 matches for "al_rate".

2002 Apr 11
1
libao: IRIX patch
...nal->alport); + internal->alport = alOpenPort("libao", "w", internal->alconfig); + if (internal->alport == NULL) + { + fprintf(stderr, "alOpenPort failed: %s\n", + alGetErrorString(oserror())); return 0; } - - params[0].param = AL_RATE; - params[0].value.ll = alDoubleToFixed((double)rate); - params[1].param = AL_MASTER_CLOCK; - params[1].value.i = AL_CRYSTAL_MCLK_TYPE; - if ( alSetParams(dev, params, 1) < 0) { + + params.param = AL_RATE; + params.value.ll = alDoubleToFixed((double) format->rate); + if (alSetParams(dev, &amp...