Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2003-08-02 | converted ChannelMP3 to use new rate conversion scheme, too. Only thing ↵ | Max Horn | |
missing now is FLAG_REVERSE_STEREO support (and of course fixing regressions, and the long term goal is to make resample.cpp usable, too) svn-id: r9395 | |||
2003-08-02 | fix ChannelMP3CDMusic volume, too :-) | Max Horn | |
svn-id: r9393 | |||
2003-08-02 | fix Vorbis music volume | Max Horn | |
svn-id: r9392 | |||
2003-08-02 | disable debug output | Max Horn | |
svn-id: r9390 | |||
2003-08-01 | let the input stream handle the looping (by pretending to be of infinite ↵ | Max Horn | |
size -> this fixes a problem which cause 'gaps' at loop turn-over points) svn-id: r9379 | |||
2003-08-01 | implemented raw sound looping; some debug output enabled temporarily | Max Horn | |
svn-id: r9360 | |||
2003-07-31 | get rid of BUGGY_NEW_MP3_PLAYER | Max Horn | |
svn-id: r9347 | |||
2003-07-31 | revamped MP3/Vorbis CD 'emulation' code to use a PlayingSoundHandle -> this ↵ | Max Horn | |
allows to finally get rid of the hackish isChannelActive/isChannelUsed methods in SoundMixer svn-id: r9346 | |||
2003-07-31 | make use of the new MP3InputStream in ChannelMP3CDMusic - but disabled by ↵ | Max Horn | |
default, because it is still quite buggy (e.g. crashes at end of stream etc) svn-id: r9314 | |||
2003-07-31 | cleanup | Max Horn | |
svn-id: r9312 | |||
2003-07-30 | Partial fix for bug #780167 ("SIMON1/2: Sound problems"). It seems to fix | Torbjörn Andersson | |
the crash, but the sounds play at the wrong rate, I believe. svn-id: r9298 | |||
2003-07-30 | Fixed MSVC errors | Jamieson Christian | |
svn-id: r9288 | |||
2003-07-29 | removed some debug output | Max Horn | |
svn-id: r9282 | |||
2003-07-29 | cleanup | Max Horn | |
svn-id: r9281 | |||
2003-07-29 | after looking at SAM and DOTT, it seems the actor-voice sync actually is ↵ | Max Horn | |
*worse* with a non-zero _silenceCut value - setting it to 0 gives perfect sync for me... odd, when did this change? Anyway, removing _silenceCut. If you notice sync problems, tell me svn-id: r9275 | |||
2003-07-29 | some cleanup; moved around some stuff, preparing to unify more code of ↵ | Max Horn | |
ChannelMP3CDMusic and ChannelMP3 svn-id: r9274 | |||
2003-07-29 | return immediately after commiting suicide; enable new rate conversion code | Max Horn | |
svn-id: r9273 | |||
2003-07-29 | hooked up ChannelVorbis to the new rate converter system, using ↵ | Max Horn | |
VorbisInputStream svn-id: r9272 | |||
2003-07-29 | cleanup | Max Horn | |
svn-id: r9266 | |||
2003-07-28 | experimental new rate conversion code (use SOX_HACK to en-/disable it); note ↵ | Max Horn | |
that right now only the linear filter works, the high quality resample in resample.cpp is in flux; right now the top priority for me is to get MP3/Vorbis resampling working svn-id: r9261 | |||
2003-07-28 | fix for bug #776169 | Max Horn | |
svn-id: r9259 | |||
2003-07-26 | oops accidentally broke the 'old' 8bit resampling code :-( | Max Horn | |
svn-id: r9192 | |||
2003-07-25 | lots of mixer changes: replaced _volumeTable by _globalVolume (applying ↵ | Max Horn | |
volume after resampling is more accurate); made more member vars of SoundMixer protected (and thus added some new getter methods); added (untested) support for a second (stereo) channel when playing MP3 svn-id: r9184 | |||
2003-07-23 | Fixed regression in clamped_add_16() that kept it from clamping. This was | Torbjörn Andersson | |
quite noticeable in the BASS floppy intro. Of course, if it turns out that 'int' is also only 16 bits it still won't work, but in that case we run into problems even before this function is called. svn-id: r9145 | |||
2003-07-17 | simplified code | Max Horn | |
svn-id: r9061 | |||
2003-07-14 | oops | Max Horn | |
svn-id: r9023 | |||
2003-07-14 | removed whitespaces at line ends; added stopHandle | Max Horn | |
svn-id: r9022 | |||
2003-07-12 | Fixed RTTI warnings with PalmOS port | Chris Apers | |
svn-id: r8951 | |||
2003-07-12 | verify chan != 0 even on WinCE | Max Horn | |
svn-id: r8940 | |||
2003-07-12 | Give sample rate to channel classes (WinCE downsampling) / Do not use ↵ | Nicolas Bacca | |
dynamic cast with EVC 3 / Fix Tremor Ogg support svn-id: r8937 | |||
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 |