emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/sound.c


From: Ken Raeburn
Subject: [Emacs-diffs] Changes to emacs/src/sound.c
Date: Fri, 19 Jul 2002 10:27:20 -0400

Index: emacs/src/sound.c
diff -c emacs/src/sound.c:1.27 emacs/src/sound.c:1.28
*** emacs/src/sound.c:1.27      Sun Jul 14 20:00:37 2002
--- emacs/src/sound.c   Fri Jul 19 10:27:20 2002
***************
*** 163,169 ****
                              struct sound *s));
  
    /* Write NYBTES bytes from BUFFER to device SD.  */
!   void (* write) P_ ((struct sound_device *sd, char *buffer, int nbytes));
  
    /* A place for devices to store additional data.  */
    void *data;
--- 163,170 ----
                              struct sound *s));
  
    /* Write NYBTES bytes from BUFFER to device SD.  */
!   void (* write) P_ ((struct sound_device *sd, const char *buffer,
!                     int nbytes));
  
    /* A place for devices to store additional data.  */
    void *data;
***************
*** 233,239 ****
  static void vox_close P_ ((struct sound_device *sd));
  static void vox_choose_format P_ ((struct sound_device *, struct sound *));
  static void vox_init P_ ((struct sound_device *));
! static void vox_write P_ ((struct sound_device *, char *, int));
  static void sound_perror P_ ((char *));
  static void sound_warning P_ ((char *));
  static int parse_sound P_ ((Lisp_Object, Lisp_Object *));
--- 234,240 ----
  static void vox_close P_ ((struct sound_device *sd));
  static void vox_choose_format P_ ((struct sound_device *, struct sound *));
  static void vox_init P_ ((struct sound_device *));
! static void vox_write P_ ((struct sound_device *, const char *, int));
  static void sound_perror P_ ((char *));
  static void sound_warning P_ ((char *));
  static int parse_sound P_ ((Lisp_Object, Lisp_Object *));
***************
*** 914,920 ****
  static void
  vox_write (sd, buffer, nbytes)
       struct sound_device *sd;
!      char *buffer;
       int nbytes;
  {
    int nwritten = emacs_write (sd->fd, buffer, nbytes);
--- 915,921 ----
  static void
  vox_write (sd, buffer, nbytes)
       struct sound_device *sd;
!      const char *buffer;
       int nbytes;
  {
    int nwritten = emacs_write (sd->fd, buffer, nbytes);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]