Mercurial > emacs
changeset 25722:2be6ced279d3
(Fplay_sound): Remove usused variables.
(be2hs): Put in #if 0 because it's currently not used.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 14 Sep 1999 20:11:59 +0000 |
parents | 47cdb31c3a62 |
children | 5984b9cfea66 |
files | src/sound.c |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sound.c Tue Sep 14 18:34:10 1999 +0000 +++ b/src/sound.c Tue Sep 14 20:11:59 1999 +0000 @@ -220,12 +220,15 @@ static u_int32_t le2hl P_ ((u_int32_t)); static u_int16_t le2hs P_ ((u_int16_t)); static u_int32_t be2hl P_ ((u_int32_t)); -static u_int16_t be2hs P_ ((u_int16_t)); static int wav_init P_ ((struct sound_file *)); static void wav_play P_ ((struct sound_file *, struct sound_device *)); static int au_init P_ ((struct sound_file *)); static void au_play P_ ((struct sound_file *, struct sound_device *)); +#if 0 /* Currently not used. */ +static u_int16_t be2hs P_ ((u_int16_t)); +#endif + /*********************************************************************** @@ -343,11 +346,9 @@ Lisp_Object sound; { Lisp_Object attrs[SOUND_ATTR_SENTINEL]; - char *header; Lisp_Object file; struct gcpro gcpro1, gcpro2; int nbytes; - char *msg; struct sound_device sd; struct sound_file sf; Lisp_Object args[2]; @@ -464,6 +465,8 @@ } +#if 0 /* Currently not used. */ + /* Convert 16-bit value VALUE which is in big-endian byte-order to host byte-order. */ @@ -478,6 +481,7 @@ return value; } +#endif /* 0 */ /***********************************************************************