summaryrefslogtreecommitdiff
path: root/src/i_sdlsound.c
AgeCommit message (Collapse)Author
2013-09-29Add config file variable for controlling libsamplerate conversion scaleSimon Howard
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
2011-09-12Fix bug in doubly-linked list implementation.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2368
2011-03-06Merge from raven-branch.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2293
2011-03-06Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2292
2011-03-06Discard very short sound effects and strip lead-in / lead-out samplesSimon Howard
that apparently aren't played by Vanilla Doom (thanks Quasar). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2291
2011-03-05Add configuration parameter to limit the amount of memory used forSimon Howard
cached soundss. Subversion-branch: /branches/strife-branch Subversion-revision: 2290
2011-03-05Behave correctly when we run out of memory.Simon Howard
Subversion-branch: /branches/strife-branch Subversion-revision: 2289
2011-02-28Rework sound chunk allocation to use native malloc() instead of the zoneSimon Howard
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
2010-12-10Merge from trunk. This is slightly out of date as I did the mergeSimon Howard
several days ago. Subversion-branch: /branches/raven-branch Subversion-revision: 2212
2010-11-24Add workaround to stop freezeups with old versions of SDL_mixer.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2165
2010-08-31Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1987
2010-08-07Change back filter frequency. Add debug code to dump resampled soundSimon Howard
effects to WAV files. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1952
2010-08-07Fix sound resampling low pass filter.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1951
2009-11-21Auto-select SDL slice size based on sample rate.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1739
2009-11-21Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1737
2009-09-30Change British English spellings to American English, for consistency.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1699
2009-09-06Fixes for MSVC compile (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1657
2009-07-12Fix compile with libsamplerate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1620
2009-05-17Always use an SDL buffer size that is a power of two. Reduce buffer sizeSimon Howard
to 70ms. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1524
2009-05-07Calculate SDL buffer size automatically based on sample rate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1511
2009-03-15Fix clipped sounds when using libsamplerate (thanks David Flater)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1479
2008-12-01Add missing header includes.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1398
2008-10-08Switch configuration file code to common configuration file code, andSimon Howard
remove old code. Subversion-branch: /branches/raven-branch Subversion-revision: 1338
2008-09-25Move GetSfxLumpName to shut up warningsSimon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1283
2008-09-25Add option to low-level sound API to disable the DS prefix for soundSimon Howard
effects, for Heretic. Fix sound links. Subversion-branch: /branches/raven-branch Subversion-revision: 1281
2008-09-14Allocate sound chunks and their buffers together, so that they are freedSimon Howard
out as cache together. Subversion-branch: /branches/raven-branch Subversion-revision: 1230
2008-09-14Remove i_sdlsound.c dependency on doom/Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1229
2008-09-11Add missing i_sound.h include.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1223
2008-09-08Split off some of the s_sound.c code into i_sound.c and reimplement theSimon Howard
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
2008-09-07Move dehacked code to doom/. Split dehacked string replacement code intoSimon Howard
common code and remove dependencies on deh_main.h. Subversion-branch: /branches/raven-branch Subversion-revision: 1210
2008-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
2008-05-02Add W_CacheLumpNum,Name API to WAD code for releasing a lump back toSimon Howard
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
2008-04-19Fix build problem when libsamplerate support is enabled.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1124
2008-04-19Fix some more warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1121
2008-04-15Make use_libsamplerate be an integer value that controls conversionSimon Howard
quality, rather than an on/off setting. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1112
2008-03-13Display a warning message if use_libsamplerate != 0, but libsamplerateSimon Howard
support is not compiled in. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1106
2008-03-13Apply SRC patch from David Flater.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1105
2008-02-28Add fixes for MSVC warnings (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1095
2008-02-23Perform a low-pass filter of converted sounds to filter outSimon Howard
high-frequency noise from the upscaling process. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1088
2008-02-13Don't try to precache sound effects that don't exist.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1085
2008-02-12Add comment.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1084
2008-02-12Use SRC_SINC_FASTEST for speed when using libsamplerate for conversions,Simon Howard
and precache all sound effects for speed. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1083
2008-02-11Add support for sample rate conversion using libsamplerate (thanks toSimon Howard
David Flater for this patch). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1076
2007-09-03Fix crash when playing long sounds (like DSBOSSIT)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 967
2007-08-03Fix 'pop' at the end of sound effects caused by an audio conversion bug.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 943
2007-06-21Add arrlen() macro as a clearer way of doing sizeof(array) /Simon Howard
sizeof(*array) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 922
2007-06-17Split i_sound.c into i_sdlsound.c, i_sdlmusic.c, with generic "soundSimon Howard
driver" modules, one for PC speaker and one for digital output. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 913