Age | Commit message (Collapse) | Author |
|
The config file API previously relied on binding config variables
using M_BindVariable() which took a void pointer. It occurred to me
that if used on a boolean variable, this would be erroneous, but the
void pointer would make it impossible to tell. Split this into
separate M_Bind{Foo}Variable() functions based on type, which allows
for proper type checking on the pointers that are passed.
Vaguely related to #509.
|
|
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.
|
|
The previous change to add the poll method to the music module
interface introduced a crash, as the OPL music struct does not
define a poll method.
|
|
ZDoom has defined a format for Vorbis metadata comments named
LOOP_START and LOOP_END that allow the start and end points to be
defined in .ogg and .flac files for looping music. Add support for
these (they are used in Brandon Blume's SC-55 recordings).
|
|
Mix_SetMusicCMD() allows a program to be specified to configure an
external program to be invoked for music playback. Add a config
variable (snd_musiccmd) to allow this to be set from a configuration
file. Thanks to Holering for his comments on Doomworld about how to do
this.
|
|
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).
|
|
CheckVolumeSeparation() has the sep and vol parameters backwards
compared to how they are used when the function is called. Reverse
the order to fix this (thanks proteal). Fixes #330.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2714
|
|
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/v2-branch
Subversion-revision: 2566
|
|
file.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2564
|
|
cached soundss.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2290
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1987
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1925
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1924
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1589
|
|
remove old code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1338
|
|
low-level sound code, as the Heretic s_sound.c code generates values
that are out of range.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1337
|
|
effects, for Heretic. Fix sound links.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1281
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1229
|
|
to be bound in a distributed fashion around the program. Remove
dependency of m_config.c on doom/.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1222
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1213
|
|
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
|
|
driver" modules, one for PC speaker and one for digital output.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 913
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 911
|
|
(snd_samplerate)
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 906
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 883
|
|
screen.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 882
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 877
|
|
to i_swap.h.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 857
|
|
the output mixer device's sample rate. Simplistic (naive) resampling in
cases where SDL's routines can't do a conversion. This needs a bit more
work to filter out the high frequency artifacts at 48khz output rate.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 856
|
|
* Add libpcsound codeblocks project
* Use libraries that are built and project dependencies inside main
chocolate-doom/setup project and remove source files.
* libraries are now built in the "lib" top level directory
* Fix some warnings
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 852
|
|
speaker code!
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 844
|
|
marina.wad.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 834
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 827
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 821
|
|
native MIDI code in SDL_mixer.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 811
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 806
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 805
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 750
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 704
|
|
default.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 649
|
|
file and act the same as Vanilla Doom.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 606
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 603
|
|
plays the deca.wad titlescreen music properly!
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 568
|
|
This plays back a lot of music closer to Vanilla Doom - eg. tnt.wad map02
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 566
|
|
This actually seems to work in Vanilla, as long as the MID is less
than ~96k. This isn't perfect.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 473
|
|
volume levels (this is how the Vanilla code behaves).
Fixes sound behavior on level 8!
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 429
|
|
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 426
|