summaryrefslogtreecommitdiff
path: root/src/i_sound.h
AgeCommit message (Collapse)Author
2015-05-27opl: Some minor tweaks to the last merge.Simon Howard
Formatting, variable names, don't pollute global variable namespace.
2015-03-10OPL code guideline style fixkhokh2001
2015-03-09Hexen and Heretic use older DMX. Since OPL Voice Allocating algorithm ↵khokh2001
differ. This commit adds old DMX's voice allocating alogrithm for Hexen and Heretic.
2014-05-05Clean up file headers.Simon Howard
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.
2014-04-27music: Add loop point Ogg/Flac metadata support.Simon Howard
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).
2014-03-23music: Add config var for external music program.Simon Howard
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.
2014-03-23sound: Add config variable to control buffer size.Simon Howard
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).
2011-03-05Add configuration parameter to limit the amount of memory used forSimon Howard
cached soundss. Subversion-branch: /branches/strife-branch Subversion-revision: 2290
2008-12-02Fix setup to show the correct available sfx/music options, depending onSimon Howard
the game type. Add CD music option for Hexen. Subversion-branch: /branches/raven-branch Subversion-revision: 1402
2008-10-02Split out high-level sound code from hexen/i_ibm.c and refactor to useSimon Howard
common interface. Subversion-branch: /branches/raven-branch Subversion-revision: 1324
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-17Split sound code out of Heretic's i_ibm.c into s_sound.c. RenameSimon Howard
soundst.h to s_sound.h to fit. Reformat sounds.c files to declare sounds through macros and harmonise on the common sfxinfo_t. Fix up Heretic sound code to use common sound API. Subversion-branch: /branches/raven-branch Subversion-revision: 1236
2008-09-14Remove i_sdlsound.c dependency on doom/Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1229
2008-09-11Refactor configuration file system to allow configuration file variablesSimon Howard
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
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
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
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-01-08Add S_MusicPlaying function to query if music is still playing.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 271
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-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-04Turn on compiler optimisation and warning optionsSimon Howard
Add SDL_mixer sound code Subversion-branch: /trunk/chocolate-doom Subversion-revision: 39
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