summaryrefslogtreecommitdiff
path: root/src/heretic/s_sound.c
AgeCommit message (Collapse)Author
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-23Rearrange order of SDL sound startup.Simon Howard
Initialize low-level sound startup (calls to I_InitSound) separately from the high-level sound startup (S_Init). In particular, make sure that SDL sound is initialized before the textscreen multiplayer waiting screen is shown. This is an attempt to fix a bug with sound in multiplayer games on Windows; calling SDL_QuitSubSystem(SDL_INIT_VIDEO) (on closedown of the textscreen library) causes subsequent attempts to initialize audio to fail. Big thanks go to Alexandre-Xavier (AXDOOMER) for working out a fix for this bug and James Haley (Quasar) for giving some technical background about the lack of separation between SDL subsystems. This (hopefully) fixes #270.
2013-09-22Call I_PrecacheSounds() in Heretic/Hexen startup code so that sounds areSimon Howard
resampled for libsamplerate users. Subversion-branch: /branches/v2-branch Subversion-revision: 2680
2012-09-07Fix crash when updating sounds with a NULL listener.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2520
2010-04-30Scale up music volume from configuration file value in Heretic/Hexen.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1925
2010-02-07Move sound structure and ammo definitions into headers. Add #ifndefSimon Howard
guards around info.h. Subversion-branch: /branches/raven-branch Subversion-revision: 1857
2010-02-06Fix Heretic/Hexen "noise" sound debug cheats.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1850
2008-11-23Shut up compiler warnings in Heretic code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1385
2008-11-02Fix up raven-branch copyright notices.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1375
2008-09-27Fix sound crash on Heretic startup.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1296
2008-09-25Shutdown sound at exit, so that the music does not continue to play atSimon Howard
the ENDOOM screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1287
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-24Fix angle calculation in sound code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1277
2008-09-24Set default values for some configuration variables.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1276
2008-09-24Add missing sound variables, I_Update -> I_FinishUpdate.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1274
2008-09-20Move m_random.[ch] to doom/ (as Hexen uses a different random numberSimon Howard
table). Split RNG code out of heretic/m_misc.c to a separate m_random.c. Subversion-branch: /branches/raven-branch Subversion-revision: 1256
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