Mercurial > pidgin
annotate src/protocols/zephyr/com_err.h @ 12903:2bb4dc533a31
[gaim-migrate @ 15256]
redpen686 posted modified sounds to gaim-devel:
"The tones were sampled at 44.1 KHz (with a range of up to 22.05 KHz),
which is fine, but since the tones are only up to ~3 to 4 KHz, a lot of
space could be saved by downsampling.
I went to 11,025 Hz, since it is already enough for these frequencies,
and it's also the lowest common denominator for soundcards (rather than
8 or 16 KHz, for example).
The 'alert' sound needed a lowpass filter, but only because of the
high-pitched attack, which people won't notice anyway.
All are still 16-bit, and in stereo (except for the 'alert' sound, which
didn't need it), and so should sound virtually identical."
These are significantly smaller files and I didn't notice a difference in
the sound (of course, my speakers suck). They're also louder, which is good.
I'm committing these so people can try them out.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 17 Jan 2006 02:49:32 +0000 |
| parents | 424a40f12a6c |
| children |
| rev | line source |
|---|---|
| 2086 | 1 /* |
| 2 * Header file for common error description library. | |
| 3 * | |
| 4 * Copyright 1988, Student Information Processing Board of the | |
| 5 * Massachusetts Institute of Technology. | |
| 6 * | |
| 7 * For copyright and distribution info, see the documentation supplied | |
| 8 * with this package. | |
| 9 */ | |
| 10 | |
| 11 #ifndef __COM_ERR_H | |
| 12 #define __COM_ERR_H | |
| 13 | |
| 14 #define COM_ERR_BUF_LEN 25 | |
| 15 | |
| 16 /* Use __STDC__ to guess whether we can use stdarg, prototypes, and const. | |
| 17 * This is a public header file, so autoconf can't help us here. */ | |
| 18 #ifdef __STDC__ | |
| 19 # include <stdarg.h> | |
| 20 # define ETP(x) x | |
| 21 # define ETCONST const | |
| 22 #else | |
| 23 # define ETP(x) () | |
| 24 # define ETCONST | |
| 25 #endif | |
| 26 | |
| 27 typedef void (*error_handler_t) ETP((ETCONST char *, long, ETCONST char *, | |
| 28 va_list)); | |
| 29 extern error_handler_t com_err_hook; | |
| 30 void com_err ETP((ETCONST char *, long, ETCONST char *, ...)); | |
| 31 ETCONST char *error_message ETP((long)); | |
| 32 ETCONST char *error_message_r ETP((long, char *)); | |
| 33 error_handler_t set_com_err_hook ETP((error_handler_t)); | |
| 34 error_handler_t reset_com_err_hook ETP((void)); | |
| 35 | |
| 36 #undef ETP | |
| 37 | |
| 38 #endif /* ! defined(__COM_ERR_H) */ |
