Displaying 1 result from an estimated 1 matches for "alsetwidth".
2002 Apr 11
1
libao: IRIX patch
...+ fprintf(stderr, "Irix audio: unsupported bit with %d\n",
+ format->bits);
break;
}
-
- internal->alport = alOpenPort("libao", "w", 0);
-
- if (!internal->alport) {
- fprintf(stderr, "alOpenPort failed: %s\n",
+ if (alSetWidth(internal->alconfig, wsize) < 0) {
+ fprintf(stderr, "alSetWidth failed: %s\n",
alGetErrorString(oserror()));
+ alClosePort(internal->alport);
return 0;
}
-
- if (alSetWidth(internal->alconfig, wsize) < 0) {
- fprintf(s...