1085 |
int n = (rdp_socket > g_x_socket) ? rdp_socket + 1 : g_x_socket + 1; |
int n = (rdp_socket > g_x_socket) ? rdp_socket + 1 : g_x_socket + 1; |
1086 |
fd_set rfds, wfds; |
fd_set rfds, wfds; |
1087 |
|
|
|
FD_ZERO(&rfds); |
|
|
|
|
1088 |
while (True) |
while (True) |
1089 |
{ |
{ |
1090 |
/* Process any events already waiting */ |
/* Process any events already waiting */ |
1119 |
return 1; |
return 1; |
1120 |
|
|
1121 |
#ifdef WITH_RDPSND |
#ifdef WITH_RDPSND |
1122 |
if (FD_ISSET(g_dsp_fd, &wfds)) |
if (g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds)) |
1123 |
wave_out_play(); |
wave_out_play(); |
1124 |
#endif |
#endif |
1125 |
} |
} |