/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/branches/seamlessrdp-branch/rdesktop/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 500 by astrand, Wed Oct 15 14:32:43 2003 UTC revision 501 by stargo, Fri Oct 17 08:23:47 2003 UTC
# Line 69  static int g_move_y_offset = 0; Line 69  static int g_move_y_offset = 0;
69  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
70  extern int g_dsp_fd;  extern int g_dsp_fd;
71  extern BOOL g_dsp_busy;  extern BOOL g_dsp_busy;
72    extern BOOL g_rdpsnd;
73  #endif  #endif
74    
75  /* MWM decorations */  /* MWM decorations */
# Line 1203  ui_select(int rdp_socket) Line 1204  ui_select(int rdp_socket)
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_dsp_busy)                  if (g_rdpsnd && 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;
# Line 1223  ui_select(int rdp_socket) Line 1224  ui_select(int rdp_socket)
1224                          return 1;                          return 1;
1225    
1226  #ifdef WITH_RDPSND  #ifdef WITH_RDPSND
1227                  if (g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds))                  if (g_rdpsnd && g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds))
1228                          wave_out_play();                          wave_out_play();
1229  #endif  #endif
1230          }          }

Legend:
Removed from v.500  
changed lines
  Added in v.501

  ViewVC Help
Powered by ViewVC 1.1.26