comparison src/sound.h @ 4834:b3ea9c582280

Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
author Ben Wing <ben@xemacs.org>
date Tue, 12 Jan 2010 01:38:04 -0600
parents 902d5bd9b75c
children 4aebb0131297
comparison
equal deleted inserted replaced
4833:4dd2389173fc 4834:b3ea9c582280
33 # define sound_perror(string) \ 33 # define sound_perror(string) \
34 do { \ 34 do { \
35 Ibyte *errmess; \ 35 Ibyte *errmess; \
36 Ibyte *string_int; \ 36 Ibyte *string_int; \
37 GET_STRERROR (errmess, errno); \ 37 GET_STRERROR (errmess, errno); \
38 EXTERNAL_TO_C_STRING (string, string_int, Qnative); \ 38 EXTERNAL_TO_C_STRING (string, string_int, Qerror_message_encoding); \
39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \ 39 warn_when_safe (Qsound, Qerror, "audio: %s, %s", string_int, errmess); \
40 } while (0) 40 } while (0)
41 # define sound_warn(string) \ 41 # define sound_warn(string) \
42 do { \ 42 do { \
43 Ibyte *string_int; \ 43 Ibyte *string_int; \
44 EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, Qnative); \ 44 EXTERNAL_TO_C_STRING (GETTEXT (string), string_int, \
45 Qerror_message_encoding); \
45 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \ 46 warn_when_safe (Qsound, Qwarning, "audio: %s", string_int); \
46 } while (0) 47 } while (0)