summaryrefslogtreecommitdiff
path: root/src/i_sound.c
AgeCommit message (Collapse)Author
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