Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-06 | mix() is really a private method, only to be called by the audio thread; ↵ | Max Horn | |
cover setupPremix by the mutex, too (that helps preventing race conditions upon exit) svn-id: r8809 | |||
2003-07-06 | now that we mutex-protect everything properly, we can get rid of ↵ | Max Horn | |
_toBeDestroyed; also, instead of keeping a global _handles array in the mixer, let each Channel manage its own handle svn-id: r8808 | |||
2003-07-06 | cleanup to the mixer helper proc interface and to ChannelStream | Max Horn | |
svn-id: r8785 | |||
2003-07-05 | updated code to use type MutexRef; added class StackLock (from sdl backend, ↵ | Max Horn | |
now in util.*) svn-id: r8777 | |||
2003-06-22 | Change names of the stream API in the mixer; added endStream method (stop() ↵ | Max Horn | |
halts stream immediately; endStream() lets it first finish playing) svn-id: r8603 | |||
2003-06-22 | renamed SoundMixer::hasActiveChannel->hasActiveSFXChannel, and fixed the ↵ | Max Horn | |
regression in it caused by removing _beginSlots (I hope); added isActiveChannel method used by scumm/sound.cpp (this allowed me to move the Channel class from mixer.h into mixer.cpp); replaced Channel::soundFinished method by isActive svn-id: r8597 | |||
2003-06-22 | remove the realDestroy methods and instead use destructors; renamed insertAt ↵ | Max Horn | |
to insertChannel and simplified/unified its usage; delete the mutex when exiting; cleanup svn-id: r8596 | |||
2003-06-21 | lots of mixer cleanup / refactoring / reengineering | Max Horn | |
svn-id: r8594 | |||
2003-06-21 | modified & cleaned up the playStream/append code a bit; but this API really ↵ | Max Horn | |
could stand some refinement svn-id: r8592 | |||
2003-06-21 | cleanup | Max Horn | |
svn-id: r8584 | |||
2003-06-18 | Use stdafx.h instead of manually including system headers. | Marcus Comstedt | |
svn-id: r8541 | |||
2003-06-15 | more cleanup | Max Horn | |
svn-id: r8497 | |||
2003-05-18 | HAVE_CONFIG_H | Jonathan Gray | |
svn-id: r7632 | |||
2003-03-18 | cleanup; add stopID method to stop a currently playing sound via its ID | Max Horn | |
svn-id: r6835 | |||
2003-03-06 | updated copyrights headers | Paweł Kołodziejski | |
svn-id: r6726 | |||
2003-03-06 | and more cleanup .... | Paweł Kołodziejski | |
svn-id: r6719 | |||
2002-12-25 | fix -pedantic warnings | Max Horn | |
svn-id: r6108 | |||
2002-11-10 | added looping support to playRaw | Oliver Kiehl | |
svn-id: r5501 | |||
2002-10-28 | Fix using MAD -without- Vorbis, and remove COMPRESSED_SOUND_FILE define. | James Brown | |
Please keep in mind that if you put an 'else' statement in an if clause, keep in mind that if the code it's supposed to 'else' is in another define.... and that isn't set... the NEXT statement of code will be used as the 'if..else' condition. svn-id: r5344 | |||
2002-10-27 | Add monster.sog support, patch #629362 | Travis Howell | |
Enable ogg support by default in mingw builds and link in ogg lib svn-id: r5333 | |||
2002-10-27 | patch #628997 support for ogg vorbis instead of cd tracks by Daniel ↵ | Jonathan Gray | |
Schepler. Uncomment the relevant lines in the makefile to use svn-id: r5320 | |||
2002-10-16 | compilation fix | Max Horn | |
svn-id: r5158 | |||
2002-10-15 | changes to imuse | Paweł Kołodziejski | |
svn-id: r5157 | |||
2002-10-15 | changes to soundmixer - added timeout param to stream | Paweł Kołodziejski | |
svn-id: r5149 | |||
2002-10-02 | added panning control in imuse and reverse stereo support | Paweł Kołodziejski | |
svn-id: r5076 | |||
2002-10-02 | Fix 'isSoundRunning' for Creative samples (eg, Full Throttle) | James Brown | |
svn-id: r5072 | |||
2002-09-14 | fixed stream in mixer, not completed yet - bad wrap around. | Paweł Kołodziejski | |
svn-id: r4940 | |||
2002-09-08 | rewrote config class; cleanup; code restructuring | Max Horn | |
svn-id: r4903 | |||
2002-09-02 | changed file io in sounds to class File | Paweł Kołodziejski | |
svn-id: r4896 | |||
2002-08-24 | synced with scummvm | Paweł Kołodziejski | |
svn-id: r4821 | |||
2002-08-18 | move _volume_table creation into constructor, and discard it in destructor | Max Horn | |
svn-id: r4764 | |||
2002-08-18 | MAJOR change to the way how Engine objects are instantiated | Max Horn | |
svn-id: r4758 | |||
2002-08-18 | pedantic #define rename :-) | Max Horn | |
svn-id: r4755 | |||
2002-07-29 | patch 587769 by Fridvin Logi (supposedly helps with Nexus in The Dig) | Max Horn | |
svn-id: r4678 | |||
2002-07-28 | moved file bundle stuff into class Bundle | Paweł Kołodziejski | |
svn-id: r4671 | |||
2002-07-21 | Apply patch from Torbj�rn Andersson to make MP3_CDMUSIC mixer use | James Brown | |
music_volume instead of sfx_volume. svn-id: r4611 | |||
2002-07-07 | indent run | Max Horn | |
svn-id: r4475 | |||
2002-06-03 | Added the mutex support to ease the streaming (ie to prevent all race | Lionel Ulmer | |
conditions between an 'append' and a playing by the sound thread). Porters should add the relevant stuff to their OSystem interfaces. But finally, the bug reported by Valgrind was much more trivial than that and is also fixed in this commit :-) svn-id: r4398 | |||
2002-06-02 | Fix the streaming used in the movies in TheDig (warning, did not test | Lionel Ulmer | |
Full Throttle). This should be less buggy (ie crash less often, maybe not better quality) than the previous code. NOTE: the '1024 *' is here for testing purposes and will need to be severely reduced :-/ svn-id: r4396 | |||
2002-05-18 | Added infrastructure to support more than 8 bit signed / unsigned RAW | Lionel Ulmer | |
mixers. Porters, beware, the default configuration is now 16 bit stereo instead of 16 mono as before (I changed X11 and SDL but no others). I did not add support for any other format yet, I will let Endy do it when he needs it :-) svn-id: r4348 | |||
2002-05-12 | added append() stubs for Channel_MP3/Channel_MP3_CDMUSIC | Max Horn | |
svn-id: r4296 | |||
2002-05-12 | Add new mixer 'append' function to allow pseudo-streaming for SMUSH | James Brown | |
svn-id: r4291 | |||
2002-05-01 | Pause and start of volume support | Nicolas Bacca | |
svn-id: r4165 | |||
2002-04-29 | Small inSANE patch for the dig, and start of Dig Audio support. | James Brown | |
It seems to crash using AUTOFREE for some reason. Can someone Valgrind/Purify this for me? svn-id: r4129 | |||
2002-04-28 | MI1 CD audio should work better now. Still a bit flaky but should be | Lionel Ulmer | |
better than before :-) svn-id: r4128 | |||
2002-04-27 | MP3 CD tracks should now be working properly. | Lionel Ulmer | |
Ludde, maybe you should check if Simon is still working OK as now the change of the sound playing handle is 'asynchronous' (ie if you call 'stop' on a sound, the handle will NOT be put to NULL right away, but at the next 'mix' thread call). Maybe we should completely remove this handle stuff and always use instead the index returned by the 'play_XXX' functions. svn-id: r4101 | |||
2002-04-26 | Fixed race conditions in the sound code (where a sound could be | Lionel Ulmer | |
'freed' while it was mixed at the same time in the sound thread). Now Monkey1 seems to play well with Valgrind without any memory warning. svn-id: r4096 | |||
2002-04-22 | Fix MP3 compilation. | James Brown | |
svn-id: r4050 | |||
2002-04-22 | Add voice channel tracking to stop script race in BumpusVille VR. | James Brown | |
svn-id: r4048 | |||
2002-04-21 | Add boilerplate license to some files, to satisfy Debian types :) | James Brown | |
fmopl.c/fmopl.h are infringing on the GPL at the moment. We either need to replace these, or get permission to relicense them, before 0.2.0 svn-id: r4036 |