aboutsummaryrefslogtreecommitdiff
path: root/sword1/sound.cpp
AgeCommit message (Collapse)Author
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-01-09Mark some places which probably should use loadWAVFromStream(); maybe some ↵Max Horn
of the engine maintainers can look into using it svn-id: r16503
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-11-28Changed parameter order of SoundMixer::playInputStream to match that of playRawMax Horn
svn-id: r15950
2004-11-27Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing ↵Max Horn
some very specialised methods svn-id: r15914
2004-11-15nothing...Robert Göffringmann
svn-id: r15820
2004-11-15BS1 demo is basically fully supported now.Robert Göffringmann
only some SFX are flipped. svn-id: r15819
2004-11-15BS1 demo's speech and logic work now.Robert Göffringmann
But there's something wrong with the SFX, which can lead to crashes. svn-id: r15813
2004-11-09free memory on quit.Robert Göffringmann
Still leaks some, though svn-id: r15735
2004-10-30Brute-force workaround for speech decoder crashes in the BS1 demo. It stillTorbjörn Andersson
doesn't work very well, though... svn-id: r15697
2004-10-21Make PalmOS happyChris Apers
svn-id: r15632
2004-10-14forgot to remove these debug messagesRobert Göffringmann
svn-id: r15549
2004-10-13I hope this fixes speech in demoRobert Göffringmann
svn-id: r15534
2004-10-12added mp3 and ogg vorbis playback for music and speech.Robert Göffringmann
compression tool will follow soon. svn-id: r15531
2004-08-31Add eriktorbjorn's patch for separate target for Broken Sword 1 demo. Avoids ↵Travis Howell
sound regressions in full game. svn-id: r14846
2004-07-27Add support for speech in demo.Travis Howell
svn-id: r14350
2004-01-17And again ... guess who fails compiling this ?Nicolas Bacca
svn-id: r12453
2004-01-11Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes inTorbjörn Andersson
the process, except for SwordEngine. Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>, <stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere. svn-id: r12320
2004-01-07implemented volume control panelRobert Göffringmann
svn-id: r12220
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06start work on czech subtitle support, not finishedJonathan Gray
svn-id: r12175
2004-01-06get volume from gamedetectorRobert Göffringmann
svn-id: r12169
2003-12-29Changed spaces to tabsTorbjörn Andersson
svn-id: r12008
2003-12-28this fixes the remaining glitchesRobert Göffringmann
svn-id: r12004
2003-12-28Not all sound effects are mono, so we need to check.Torbjörn Andersson
svn-id: r11995
2003-12-27Search additional folder for BS1Travis Howell
svn-id: r11956
2003-12-26look for data/speech1/2.clu and data/speech/speech.clu, instead of ↵Jonathan Gray
data/speech1/2.clu and data/speech/speech1/2.clu fixes running from cd or using the same layout as the cd svn-id: r11934
2003-12-24turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, ↵Max Horn
mainly because people kept (accidentally and sometimes on purpose :-) misusing them svn-id: r11881
2003-12-23Microsoft Compilers : Which part of the standard do you want to break today ?Nicolas Bacca
svn-id: r11866
2003-12-21warning fixTorbjörn Andersson
svn-id: r11827
2003-12-21changed speech code, should now play all waves correctlyRobert Göffringmann
svn-id: r11815
2003-12-20fixed crashes after restoring a savegame, added fnSetPaletteToFade and ↵Robert Göffringmann
changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU) svn-id: r11789
2003-12-20added SwordControl (the control panel). Not yet finished.Robert Göffringmann
svn-id: r11775
2003-12-19Whitespace changesTorbjörn Andersson
svn-id: r11760
2003-12-19Make sure that playSample() gets a pointer to the original QueueElementTorbjörn Andersson
instead of a copy of it. Otherwise the sound engine will never notice when a sample finishes playing since it's looking at the wrong sound handle. For whatever reason, this also seems to fix the "game crashes occasionally on startup with completely useless stack trace" bug for me. The crash was easily repeatable in Valgrind for me, but the messages it produced were just as unhelpful as the stack trace. These messages are also gone now. svn-id: r11757
2003-12-17big endian fixRobert Göffringmann
svn-id: r11710
2003-12-17menu, sound and mouse fixes.Robert Göffringmann
svn-id: r11701
2003-12-16check speech subdirectory for speech.clu as wellJonathan Gray
svn-id: r11682
2003-12-16compilation fixesJonathan Gray
svn-id: r11679
2003-12-16revert one of kirben's changesRobert Göffringmann
svn-id: r11669
2003-12-16newlinesTravis Howell
svn-id: r11668
2003-12-16Broken Sword 1: initial importRobert Göffringmann
svn-id: r11664