comparison src/sound.h @ 2526:902d5bd9b75c

[xemacs-hg @ 2005-01-28 02:36:11 by ben] Support symlinks under Windows nt.c, fileio.c: Fix sync comments. config.h.in, dired-msw.c, emacs.c, event-msw.c, fileio.c, glyphs.c, lisp.h, nt.c, process-nt.c, realpath.c, sound.c, symsinit.h, sysdep.c, sysfile.h, syswindows.h, win32.c: Add support for treating shortcuts under Windows as symbolic links. Enabled with mswindows-shortcuts-are-links (t by default). Rewrite lots of places to use PATHNAME_CONVERT_OUT, which is moved to sysfile.h. Add PATHNAME_RESOLVE_LINKS, which only does things under Windows. Add profiling section for expand_file_name calls. nt.c, sysdep.c: Unicode-ize. realpath.c: Renamed from readlink_and_correct_case. Fix some problems with Windows implementation due to incorrect understanding of workings of the function. sound.c, ntplay.c, sound.h: Rename play_sound_file to nt_play_sound_file and pass internally-formatted data to it to avoid converting out and back again. text.h: is_c -> is_ascii.
author ben
date Fri, 28 Jan 2005 02:36:28 +0000
parents ecf1ebac70d8
children b3ea9c582280
comparison
equal deleted inserted replaced
2525:52f00344a629 2526:902d5bd9b75c
25 25
26 #include "buffer.h" 26 #include "buffer.h"
27 27
28 /* Defined in *play.c */ 28 /* Defined in *play.c */
29 void play_sound_file (Extbyte *name, int volume); 29 void play_sound_file (Extbyte *name, int volume);
30 void nt_play_sound_file (Lisp_Object name, int volume);
30 int play_sound_data (Binbyte *data, int length, int volume); 31 int play_sound_data (Binbyte *data, int length, int volume);
31 32
32 # define sound_perror(string) \ 33 # define sound_perror(string) \
33 do { \ 34 do { \
34 Ibyte *errmess; \ 35 Ibyte *errmess; \