Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-24 | turned 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-23 | Allow sound ID for MP3/Vorbis sounds, too; cleaned up Vorbis playback code a bit | Max Horn | |
svn-id: r11879 | |||
2003-12-22 | Fix warning generated by the incomprehensibly picky MinGW GCC compiler. | Torbjörn Andersson | |
svn-id: r11858 | |||
2003-12-22 | o Got rid of Channel::destroy() method (no more evil 'delete this', plus | Max Horn | |
slightly more efficient) o Fixed potential memory leak in SoundMixer::playRaw o Channel not anymore friend class of SoundMixer o misc cleanup svn-id: r11857 | |||
2003-12-21 | added convenience SoundMixer::playVorbis variant which calls through to ↵ | Max Horn | |
playSfxSound_Vorbis; made scumm/queen engines use it svn-id: r11812 | |||
2003-12-21 | Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of ↵ | Max Horn | |
this by playInputStream(), this cleanup eases this a bit) svn-id: r11803 | |||
2003-12-21 | o Make use of the new LinearMemoryStream feature which allows auto-disposing ↵ | Max Horn | |
the sound data o This allows us to get rid of the ChannelRaw class o Removed the sound index return value from several methods o Removed all methods dealing with sound indices (i.e. stopChannel and pauseChannel) svn-id: r11801 | |||
2003-12-19 | distinguish between end of stream and end of data | Max Horn | |
svn-id: r11756 | |||
2003-12-19 | o Moved MP3 and Vorbis input streams to mp3.* resp. vorbis.* | Max Horn | |
o Added SoundMixer::playInputStream and made some of the other play* methods use it o Added ProcInputStream stub (not working yet) which one day may allow us to replace the premix code, and allow other fancy stuff o Remove AudioInputStream::readBuffer default implementation (subclasses should always provide it for max. performance) o Some minor cleanup svn-id: r11754 | |||
2003-12-18 | PalmOS sound API cannot access globals data, StackLock constructor use g_system | Chris Apers | |
svn-id: r11742 | |||
2003-12-17 | Made sure that *all* AudioInputStream 'know' their sample rate; removed ↵ | Max Horn | |
pointless MusicStream class; removed various specific Channel subclasses and instead generalized the base class some more svn-id: r11699 | |||
2003-12-17 | cleanup | Max Horn | |
svn-id: r11697 | |||
2003-12-17 | changed the way 'streams' are handled: the finalization logic is now in the ↵ | Max Horn | |
WrappedAudioInputStream; this allows further streamlining of the channel/mixer code (can you already guess what I am working towards? :-) svn-id: r11696 | |||
2003-12-17 | some cleanup | Max Horn | |
svn-id: r11694 | |||
2003-12-16 | cleanup | Max Horn | |
svn-id: r11686 | |||
2003-11-08 | cleanup whitespaces | Paweł Kołodziejski | |
svn-id: r11221 | |||
2003-10-25 | whatever | Joost Peters | |
svn-id: r10959 | |||
2003-10-24 | added extra flag to mixer so we don't use free() on new'd pointers | Joost Peters | |
svn-id: r10958 | |||
2003-10-04 | use namespace Common a bit more; don't zero the RNG in scumm (else the seed ↵ | Max Horn | |
gets reset); remove obsolete 256 color blending code svn-id: r10592 | |||
2003-09-18 | changed & documented the premixer semantics | Max Horn | |
svn-id: r10294 | |||
2003-09-16 | Don't call the premix function when the mixer is paused. (This is | Torbjörn Andersson | |
particularly noticeable in games with PC speaker emulation, but I could hear faint noises in AdLib music as well.) svn-id: r10262 | |||
2003-09-10 | moved declaration of error/warning/debug from engine.h to util.h; added voc.cpp | Max Horn | |
svn-id: r10150 | |||
2003-09-06 | removed pauseMixer method from mixer, and renamed stop to stopChannel | Max Horn | |
svn-id: r10042 | |||
2003-09-05 | optimized channel volume/pan handling | Max Horn | |
svn-id: r10028 | |||
2003-09-05 | moved the sound ID param in playRaw before volume/pan | Max Horn | |
svn-id: r10023 | |||
2003-09-05 | oops | Max Horn | |
svn-id: r10021 | |||
2003-09-05 | cleaned up sound/mixer.h a bit; renamed some mixer methods for consistency | Max Horn | |
svn-id: r10018 | |||
2003-09-05 | fixes for uninitialized pan and volume | Paweł Kołodziejski | |
svn-id: r9998 | |||
2003-09-02 | remove shadow'd var by using variable name from prototype | Jonathan Gray | |
svn-id: r9979 | |||
2003-09-02 | moved volume and pan control into flow func | Paweł Kołodziejski | |
svn-id: r9976 | |||
2003-09-02 | Fixed compiler warning that I introduced earlier. | Torbjörn Andersson | |
svn-id: r9974 | |||
2003-09-02 | Added per-channel pausing. Maybe I should have named the pauseChannel() | Torbjörn Andersson | |
function simply pause() to be consistent with stop(), but there already is a pause() function and I don't want to have two functions with the same name doing different things. (The current pause() function pauses all channels.) svn-id: r9968 | |||
2003-09-01 | forgot this | Paweł Kołodziejski | |
svn-id: r9957 | |||
2003-09-01 | The channel could be destroyed so changeVolumeAndPan can't access it in that ↵ | Chris Apers | |
case svn-id: r9955 | |||
2003-08-31 | added mixer features: volume and pan control per channel | Paweł Kołodziejski | |
svn-id: r9944 | |||
2003-08-30 | revert id handle stuff | Paweł Kołodziejski | |
svn-id: r9927 | |||
2003-08-30 | added func isChannelActive for mixer, and fixed handling numbers of channel 0 | Paweł Kołodziejski | |
svn-id: r9924 | |||
2003-08-09 | added SoundMixer::pauseChannels for pausing SFX and keeping adlib music ↵ | Robert Göffringmann | |
running (needed by BASS when menu bar drops down) svn-id: r9607 | |||
2003-08-06 | some cleanup | Max Horn | |
svn-id: r9575 | |||
2003-08-05 | some cleanup; added Channel::getVolume, once somebody tells me what exactly ↵ | Max Horn | |
is needed, I can add per-channel volume, and also per-channel panning svn-id: r9525 | |||
2003-08-05 | begone, old mixer code | Max Horn | |
svn-id: r9521 | |||
2003-08-05 | more cleanup | Max Horn | |
svn-id: r9513 | |||
2003-08-05 | more cleanup (like the previous two, I just moved around code, to clearly ↵ | Max Horn | |
separate the old and the new mixer code) svn-id: r9479 | |||
2003-08-05 | some more cleanup | Max Horn | |
svn-id: r9478 | |||
2003-08-05 | cleanup; removed some code duplication | Max Horn | |
svn-id: r9477 | |||
2003-08-04 | renamed eof -> eos (end of stream); hid MP3/Vorbis stream classes completly ↵ | Max Horn | |
(by providing factory methods); new readBuffer method for AudioInputStream for improved speed of the mixer; new MusicStream class (subclassed for MP3/Vorbis sound) which offers a getRate method; some other tweaks svn-id: r9467 | |||
2003-08-02 | some more tweaks | Max Horn | |
svn-id: r9424 | |||
2003-08-02 | added FLAG_REVERSE_STEREO support | Max Horn | |
svn-id: r9416 | |||
2003-08-02 | obsolete | Max Horn | |
svn-id: r9410 | |||
2003-08-02 | oops | Max Horn | |
svn-id: r9396 |