1204 |
|
|
1205 |
#ifdef WITH_RDPSND |
#ifdef WITH_RDPSND |
1206 |
/* FIXME: there should be an API for registering fds */ |
/* FIXME: there should be an API for registering fds */ |
1207 |
if (g_rdpsnd && g_dsp_busy) |
if (g_dsp_busy) |
1208 |
{ |
{ |
1209 |
FD_SET(g_dsp_fd, &wfds); |
FD_SET(g_dsp_fd, &wfds); |
1210 |
n = (g_dsp_fd + 1 > n) ? g_dsp_fd + 1 : n; |
n = (g_dsp_fd + 1 > n) ? g_dsp_fd + 1 : n; |
1224 |
return 1; |
return 1; |
1225 |
|
|
1226 |
#ifdef WITH_RDPSND |
#ifdef WITH_RDPSND |
1227 |
if (g_rdpsnd && g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds)) |
if (g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds)) |
1228 |
wave_out_play(); |
wave_out_play(); |
1229 |
#endif |
#endif |
1230 |
} |
} |