--- sourceforge.net/trunk/rdesktop/rdpsnd_sgi.c 2005/06/07 11:10:13 909 +++ sourceforge.net/trunk/rdesktop/rdpsnd_sgi.c 2005/06/26 22:36:44 912 @@ -77,7 +77,7 @@ queue_lo = queue_hi = 0; audioconfig = alNewConfig(); - if (audioconfig < 0) + if (audioconfig == (ALconfig) 0) { fprintf(stderr, "wave_out_open: alNewConfig failed: %s\n", alGetErrorString(oserror())); @@ -159,10 +159,10 @@ #endif } - /* Limited support to configure an opened audio port in IRIX The + /* Limited support to configure an opened audio port in IRIX. The number of channels is a static setting and can not be changed after - a port is opened. So if the number of channels remains the same, we - can configure other settings Otherwise we have to reopen the audio + a port is opened. So if the number of channels remains the same, we + can configure other settings; otherwise we have to reopen the audio port, using same config. */ channels = pwfx->nChannels;