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 | the mutex must be locked by everything which might access _channels while ↵ | Max Horn | |
the mixer thread is running, because the mixer thread may modify _channels svn-id: r8805 | |||
2003-07-06 | More fixes from Hibernatus | Travis Howell | |
svn-id: r8792 | |||
2003-07-06 | cleanup to the mixer helper proc interface and to ChannelStream | Max Horn | |
svn-id: r8785 | |||
2003-07-05 | protect calls to insertChannel with mutex, too (and switch to using StackLock) | Max Horn | |
svn-id: r8782 | |||
2003-07-04 | make SoundMixer::playRaw only check sound IDs if you actually pass one | Robert Göffringmann | |
svn-id: r8746 | |||
2003-07-04 | Prevent apparantly possible race condition. I don't get this stuff, and I ↵ | James Brown | |
don't see why the next call to insertChannel is immune to the same theoretical problem :) svn-id: r8742 | |||
2003-07-04 | Insert preliminary Zak256 sound looping support. It's not perfect, as some ↵ | James Brown | |
Zak256 sounds only loop a part of the sample - which our mixer API doesn't yet support. svn-id: r8741 | |||
2003-07-03 | cleanup for -Wundef | Max Horn | |
svn-id: r8726 | |||
2003-07-02 | cleanup (code easier to read; slightly less rounding errors for the volume; ↵ | Max Horn | |
and on BE systems, READ_BE_UINT16 is actually faster ;-) svn-id: r8706 | |||
2003-06-27 | fixed warning | Paweł Kołodziejski | |
svn-id: r8664 | |||
2003-06-24 | cleanup | Max Horn | |
svn-id: r8645 | |||
2003-06-22 | fixed warnings | Paweł Kołodziejski | |
svn-id: r8613 | |||
2003-06-22 | d'oh | Max Horn | |
svn-id: r8611 | |||
2003-06-22 | fixed Vorbis CD track code | Max Horn | |
svn-id: r8610 | |||
2003-06-22 | don't memset the output buffer to 0 if _eof_flag is set; rather, we should ↵ | Max Horn | |
'add 0' to every byte in the output buffer, i.e.: do nothing svn-id: r8609 | |||
2003-06-22 | properly init member vars instead of using memset | Max Horn | |
svn-id: r8608 | |||
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 | fix compile when vorbis is enabled, loomcd is now broken with vorbis after ↵ | Jonathan Gray | |
recent changes :/ svn-id: r8598 | |||
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-15 | more cleanup | Max Horn | |
svn-id: r8497 | |||
2003-06-09 | use clear_sound_proc to properly deinit the mixer (this fixes a crash-on-exit) | Max Horn | |
svn-id: r8410 | |||
2003-05-29 | more OSystem docs & cleanup | Max Horn | |
svn-id: r8118 | |||
2003-05-23 | fixed nasty deadlock I recently introduced | Max Horn | |
svn-id: r7867 | |||
2003-05-22 | make sure that the mutex protects everything that affects the buffer | Max Horn | |
svn-id: r7835 | |||
2003-05-21 | pedantic warning fix | Max Horn | |
svn-id: r7792 | |||
2003-04-30 | PalmOS changes | Max Horn | |
svn-id: r7222 | |||
2003-03-30 | changed messages from warning to debug | Paweł Kołodziejski | |
svn-id: r6888 | |||
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-08 | Patch #641607: Louder MP3 sound effects | Max Horn | |
svn-id: r5882 | |||
2002-11-21 | Adapt MAD sampling rate to the real sampling rate for WinCE | Nicolas Bacca | |
svn-id: r5657 | |||
2002-11-19 | Patch #639931: ALL: Fix for possible mixer distortion | Max Horn | |
svn-id: r5602 | |||
2002-11-15 | 637471: Hack to work-around 'bad sound in stream' problem. | James Brown | |
svn-id: r5560 | |||
2002-11-10 | oops | Oliver Kiehl | |
svn-id: r5504 | |||
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 | don't put samples into stream SoundMixer if sound card is disabled | Paweł Kołodziejski | |
svn-id: r5338 | |||
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-23 | changing warnings to debug level 2 | Paweł Kołodziejski | |
svn-id: r5273 | |||
2002-10-23 | fix -Wshadow warnings | Max Horn | |
svn-id: r5270 | |||
2002-10-16 | compilation fix | Max Horn | |
svn-id: r5158 | |||
2002-10-15 | changes to imuse | Paweł Kołodziejski | |
svn-id: r5157 |