search for: alsetqueuesize

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

2002 Apr 11
1
libao: IRIX patch
...ao_plugin_open(ao_device *device, ao_sample_format *format) { ao_irix_internal *internal = (ao_irix_internal *) device->internal; - ALpv params[2]; + ALpv params; int dev = AL_DEFAULT_OUTPUT; int wsize = AL_SAMPLE_16; - - internal->nChannels = channels; - - if (alSetQueueSize(internal->alconfig, BUFFER_SIZE) < 0) { - fprintf(stderr, "alSetQueueSize failed: %s\n", - alGetErrorString(oserror())); + if (alSetQueueSize(internal->alconfig, AO_IRIX_BUFFER_SIZE) < 0) { + fprintf(stderr, "alSetQueueSize failed: %s\n", + alGetErrorString(ose...