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; |
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 *)); |
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); |