Age | Commit message (Collapse) | Author |
|
|
|
This change rewrites and simplifies the copyright headers at the top
of all source files:
* Remove "Emacs style mode select" line; this line was included in
the headers for the originally released source files and appears
to be to set the file type for old versions of Emacs. I'm not sure
entirely why it was required but I don't think it is any more.
* Remove "You should have received a copy of..." text from copyright
header. This refers to the old 59 Temple Place address where the
FSF headquarters used to be located and is no longer correct.
Rather than change to the new address, just remove the paragraph
as it is superfluous anyway. This fixes #311.
* Remove ---- separator lines so that the file headers are barer
and more simplified.
|
|
Sanity check the handles passed to the i_sdlsound.c API functions and
ignore requests that involve channel numbers higher than 15. This
fixes a crash if the user sets the snd_channels config variable is set
to a high value. This fixes #149 (thanks Alexandre Xavier).
|
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
The change in commit 62b5c6028.. broke the compile.
|
|
As part of this, add DIR_SEPARATOR_S as a string version of the
DIR_SEPARATOR macro. Change M_TempFile() to return a string allocated
on the C heap rather than the zone heap.
This is a first step towards fixing #371.
|
|
It's more readable to write "M_StringEndsWith(..." than doing a bunch of
pointer arithmetic, and this is a common pattern. Also add
M_StringStartsWith, M_StringJoin and M_StringCopy. The latter is a
safe alternative for strcpy() that works the same as OpenBSD's
strlcpy(). Use these functions in a few places where it makes sense.
|
|
Add snd_maxslicetime_ms variable to control the size of the output
sound buffer, and reduce the default from 70ms to 28ms to match Doom's
35fps timer. Thanks to Holering for reporting this (fixes #345).
|
|
factor. This is an alternative to the approach taken in the version on
the trunk version, where all sounds are pre-converted at startup and
adjusted based on the maximum value.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2690
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2368
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2293
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2292
|
|
that apparently aren't played by Vanilla Doom (thanks Quasar).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2291
|
|
cached soundss.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2290
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2289
|
|
memory system. This should fix the problems with running out of memory
when playing the long Strife voice sounds.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2285
|
|
several days ago.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2212
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2165
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1987
|
|
effects to WAV files.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1952
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1951
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1739
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1699
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1657
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1620
|
|
to 70ms.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1524
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1511
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1479
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1398
|
|
remove old code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1338
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1283
|
|
effects, for Heretic. Fix sound links.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1281
|
|
out as cache together.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1230
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1229
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1223
|
|
old low-level sound API as a thin wrapper around the module system.
Decouple the low-level code from the high-level code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1212
|
|
common code and remove dependencies on deh_main.h.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1210
|
|
level.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1204
|
|
cache when it is no longer needed. Switch existing code to use the new
API instead of Z_ChangeTag.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1134
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1124
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1121
|
|
quality, rather than an on/off setting.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1112
|
|
support is not compiled in.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1106
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1105
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1095
|
|
high-frequency noise from the upscaling process.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1088
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1085
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1084
|
|
and precache all sound effects for speed.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1083
|