/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd.h
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/trunk/rdesktop/rdpsnd.h

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

revision 1300 by ossman_, Thu Oct 19 12:26:55 2006 UTC revision 1346 by ossman_, Thu Dec 7 15:23:45 2006 UTC
# Line 23  struct audio_packet Line 23  struct audio_packet
23          struct stream s;          struct stream s;
24          uint16 tick;          uint16 tick;
25          uint8 index;          uint8 index;
26    
27            struct timeval arrive_tv;
28            struct timeval completion_tv;
29  };  };
30    
31  struct audio_driver  struct audio_driver
32  {  {
33          void (*wave_out_write) (STREAM s, uint16 tick, uint8 index);          void (*add_fds) (int *n, fd_set * rfds, fd_set * wfds, struct timeval * tv);
34            void (*check_fds) (fd_set * rfds, fd_set * wfds);
35    
36            BOOL(*wave_out_open) (void);            BOOL(*wave_out_open) (void);
37          void (*wave_out_close) (void);          void (*wave_out_close) (void);
38            BOOL(*wave_out_format_supported) (WAVEFORMATEX * pwfx);            BOOL(*wave_out_format_supported) (WAVEFORMATEX * pwfx);
39            BOOL(*wave_out_set_format) (WAVEFORMATEX * pwfx);            BOOL(*wave_out_set_format) (WAVEFORMATEX * pwfx);
40          void (*wave_out_volume) (uint16 left, uint16 right);          void (*wave_out_volume) (uint16 left, uint16 right);
41          void (*wave_out_play) (void);  
42          char *name;          char *name;
43          char *description;          char *description;
44          int need_byteswap_on_be;          int need_byteswap_on_be;
# Line 41  struct audio_driver Line 46  struct audio_driver
46          struct audio_driver *next;          struct audio_driver *next;
47  };  };
48    
 extern BOOL g_dsp_busy;  
 extern int g_dsp_fd;  
   
49  /* Driver register functions */  /* Driver register functions */
50  struct audio_driver *alsa_register(char *options);  struct audio_driver *alsa_register(char *options);
51  struct audio_driver *libao_register(char *options);  struct audio_driver *libao_register(char *options);

Legend:
Removed from v.1300  
changed lines
  Added in v.1346

  ViewVC Help
Powered by ViewVC 1.1.26