Displaying 1 result from an estimated 1 matches for "alsetchannel".
Did you mean:
alsetchannels
2002 Apr 11
1
libao: IRIX patch
...f(stderr, "alSetQueueSize failed: %s\n",
- alGetErrorString(oserror()));
+ if (alSetQueueSize(internal->alconfig, AO_IRIX_BUFFER_SIZE) < 0) {
+ fprintf(stderr, "alSetQueueSize failed: %s\n",
+ alGetErrorString(oserror()));
return 0;
}
- if (alSetChannels(internal->alconfig, channels) < 0) {
- fprintf(stderr, "alSetChannels(%d) failed: %s\n",
- channels, alGetErrorString(oserror()));
+ if (alSetChannels(internal->alconfig, format->channels) < 0) {
+ fprintf(stderr, "alSetChannels(%d) failed: %s\n",
+ format-...