summaryrefslogtreecommitdiff
path: root/src/i_sound.c
AgeCommit message (Collapse)Author
2006-11-14Support running as a screensaver under X!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 750
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-09-21Set default sound devices to SNDDEVICE_SB, so that sfx and music are on by Simon Howard
default. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 649
2006-09-15Interpret the snd_sfxdevice and snd_musicdevice values in the configurationSimon Howard
file and act the same as Vanilla Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 606
2006-09-09Fix the -nomusic parameter.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 603
2006-07-28Try to convert MUS even if the MUS header is not present. The new codeSimon Howard
plays the deca.wad titlescreen music properly! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 568
2006-07-22New mus -> mid conversion code thanks to Ben Ryves <benryves@benryves.com>Simon Howard
This plays back a lot of music closer to Vanilla Doom - eg. tnt.wad map02 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 566
2006-05-03Allow .mid files in PWADs (via including a MID inside a music lump).Simon Howard
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
2006-03-23Separate variables for config file volume levels and sound API internalSimon Howard
volume levels (this is how the Vanilla code behaves). Fixes sound behavior on level 8! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 429
2006-03-18Fix music startup/shutdownSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 426
2006-03-18Catch failures to initialise SDL_mixer properly, and fail gracefullySimon Howard
rather than crashing the game. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 425
2006-01-23Fix bug when expanding large sound effects with odd sample ratesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 338
2006-01-22Dehacked string replacements for sound and music lump namesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 318
2006-01-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280
2006-01-08Add S_MusicPlaying function to query if music is still playing.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 271
2006-01-07Fix the behavior when expanding sound effects (again). Doom actuallySimon Howard
does play sounds of any sample rate, but the sound effects in Scientist 2 are corrupted. Add some tests to check that the sound effect header is correct, and generic sound rate conversion code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 257
2005-10-23Reproduce the behavior when playing a sound at a sample rate whichSimon Howard
is not 11025 or 22050Hz. This is to "fix" a bug in Scientist 2: however, it does not fix the playing of sounds, only silence them. I tested Vanilla Doom and this is how it behaves when it receives sound effects with odd sample rates. The bug here is actually in the Scientist 2 WAD, which has sound effects that have the wrong sample rate. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 221
2005-10-15Fix MIDI music not pausing when using SDL_mixer's native MIDI playback.Simon Howard
The SDL_mixer native MIDI code does not pause music properly - use a workaround of setting the volume to 0. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 196
2005-10-02Guard against music lumps containing non-MUS data, document in bugs listSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 152
2005-09-11Remove temporary MIDI files generated by sound code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 102
2005-09-11Fix sounds playing at the wrong volume (too quiet)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 101
2005-09-07Modify the sound effect caching behaviour: sounds which are not playingSimon Howard
are now marked as PU_CACHE; it is otherwise possible to run out of memory. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 87
2005-09-06Restore -nosound, -nosfx, -nomusicSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 80
2005-09-06Setting music volumeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 79
2005-09-06Working music!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 77
2005-09-05Add mmus2mid code from prboom. Use 'void *' for music handles. PassSimon Howard
length of data when registering music. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 75
2005-09-0516-bit soundSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 74
2005-09-05Use the system-nonspecific sound code to assign the channel number usedSimon Howard
by SDL. Remove handle tagging stuff. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 73
2005-08-19Make sounds louder. Use the correct maximum of 15 when doing soundSimon Howard
calculations. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 53
2005-08-07Cycle round sound channels to stop reuse and conflicts of channelSimon Howard
numbers. Add debug to detect when incorrect sound handles are used. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 48
2005-08-06Remove debug messages, send error messages to stderrSimon Howard
Fix overflow when playing large sound files Subversion-branch: /trunk/chocolate-doom Subversion-revision: 43
2005-08-05More sensible defaultsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 42
2005-08-04Turn on compiler optimisation and warning optionsSimon Howard
Add SDL_mixer sound code Subversion-branch: /trunk/chocolate-doom Subversion-revision: 39
2005-07-23Add missing errno.h, fix crash on startup when no IWAD presentSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 23
2005-07-23Use ANSI-standard limit constants. Remove LINUX define.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 19
2005-07-23Remove step table (unused, adds dependency on pow function)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 12
2005-07-23Update copyright to GNU GPLSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 8
2005-07-23Initial revisionSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 4