/[emacs]/emacs/src/sound.c
ViewVC logotype

Diff of /emacs/src/sound.c

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

revision 1.27 by raeburn, Mon Jul 15 00:00:37 2002 UTC revision 1.28 by raeburn, Fri Jul 19 14:27:20 2002 UTC
# Line 163  struct sound_device Line 163  struct sound_device
163                                struct sound *s));                                struct sound *s));
164    
165    /* Write NYBTES bytes from BUFFER to device SD.  */    /* Write NYBTES bytes from BUFFER to device SD.  */
166    void (* write) P_ ((struct sound_device *sd, char *buffer, int nbytes));    void (* write) P_ ((struct sound_device *sd, const char *buffer,
167                          int nbytes));
168    
169    /* A place for devices to store additional data.  */    /* A place for devices to store additional data.  */
170    void *data;    void *data;
# Line 233  static void vox_configure P_ ((struct so Line 234  static void vox_configure P_ ((struct so
234  static void vox_close P_ ((struct sound_device *sd));  static void vox_close P_ ((struct sound_device *sd));
235  static void vox_choose_format P_ ((struct sound_device *, struct sound *));  static void vox_choose_format P_ ((struct sound_device *, struct sound *));
236  static void vox_init P_ ((struct sound_device *));  static void vox_init P_ ((struct sound_device *));
237  static void vox_write P_ ((struct sound_device *, char *, int));  static void vox_write P_ ((struct sound_device *, const char *, int));
238  static void sound_perror P_ ((char *));  static void sound_perror P_ ((char *));
239  static void sound_warning P_ ((char *));  static void sound_warning P_ ((char *));
240  static int parse_sound P_ ((Lisp_Object, Lisp_Object *));  static int parse_sound P_ ((Lisp_Object, Lisp_Object *));
# Line 914  vox_init (sd) Line 915  vox_init (sd)
915  static void  static void
916  vox_write (sd, buffer, nbytes)  vox_write (sd, buffer, nbytes)
917       struct sound_device *sd;       struct sound_device *sd;
918       char *buffer;       const char *buffer;
919       int nbytes;       int nbytes;
920  {  {
921    int nwritten = emacs_write (sd->fd, buffer, nbytes);    int nwritten = emacs_write (sd->fd, buffer, nbytes);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26