aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2003-08-06Fixed type mismatch error compiling palmos portChris Apers
svn-id: r9552
2003-08-05getting rid of g_mixer; removing lots of whitespaceMax Horn
svn-id: r9527
2003-08-05some 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-05begone, old mixer codeMax Horn
svn-id: r9521
2003-08-05more cleanupMax Horn
svn-id: r9513
2003-08-05cleanupMax Horn
svn-id: r9512
2003-08-05fix bug #783423Max Horn
svn-id: r9484
2003-08-05more 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-05some more cleanupMax Horn
svn-id: r9478
2003-08-05cleanup; removed some code duplicationMax Horn
svn-id: r9477
2003-08-05and finally VorbisInputStream::readBuffer. Once we verified the new ↵Max Horn
readBuffer methods all work, we can get rid of readIntern again and merge those back into the regular read() methods svn-id: r9476
2003-08-05optimized MP3InputStream::readBuffer (once more, I won't gurantee for ↵Max Horn
correctness although it seems to work fine over here) svn-id: r9475
2003-08-05simplified code a bitMax Horn
svn-id: r9474
2003-08-05optimized WrappedMemoryStream::readBuffer (It's almost 3 AM, so I don't ↵Max Horn
trust myself, hence I'll leave this as an #ifdef for now :-) svn-id: r9473
2003-08-05catch one potential problem, namely if eos is already reached when ↵Max Horn
readBuffer is called ('This should never happen anyway', famous last words) svn-id: r9472
2003-08-05get rid of calls to the obsolete AudioInputStream::size methodMax Horn
svn-id: r9471
2003-08-04not really sure if using readBuffer would give any gain in CopyRateConverterMax Horn
svn-id: r9470
2003-08-04renamed 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-04fixed EOF handling of MP3 streams (subtract time from duration timer, ↵Max Horn
instead of adding it...) svn-id: r9464
2003-08-02one addition lessMax Horn
svn-id: r9425
2003-08-02some more tweaksMax Horn
svn-id: r9424
2003-08-02slightly cut down on the number of times eof() is calledMax Horn
svn-id: r9423
2003-08-02slightly optimized MP3InputStream::eof, and some cleanupMax Horn
svn-id: r9422
2003-08-02don't use asserts in these tight spotsMax Horn
svn-id: r9420
2003-08-02optimize code flow a littleMax Horn
svn-id: r9419
2003-08-02cleanupMax Horn
svn-id: r9417
2003-08-02added FLAG_REVERSE_STEREO supportMax Horn
svn-id: r9416
2003-08-02remove debug outputMax Horn
svn-id: r9415
2003-08-02fix for st_rate_flow, code is more straightforward now, tooMax Horn
svn-id: r9414
2003-08-02obsoleteMax Horn
svn-id: r9410
2003-08-02garhgMax Horn
svn-id: r9409
2003-08-02previous mod was techincally incorrect, this one should be better (but might ↵Max Horn
still be buggy?) svn-id: r9408
2003-08-02I think this fixes bug #780167 ("SIMON1/2: Sound problems"). WhenTorbjörn Andersson
st_rate_flow() had filled the output buffer, rate->icur and rate->ilast held the same values, which led to some samples being duplicated on the next call. svn-id: r9403
2003-08-02oopsMax Horn
svn-id: r9396
2003-08-02converted 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-02fix ChannelMP3CDMusic volume, too :-)Max Horn
svn-id: r9393
2003-08-02fix Vorbis music volumeMax Horn
svn-id: r9392
2003-08-02disable debug outputMax Horn
svn-id: r9390
2003-08-01let 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-01implemented raw sound looping; some debug output enabled temporarilyMax Horn
svn-id: r9360
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-31get rid of BUGGY_NEW_MP3_PLAYERMax Horn
svn-id: r9347
2003-07-31revamped 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-31fixed MP3InputStream, now seems to work properly (kind of a surprise)Max Horn
svn-id: r9345
2003-07-31icur was not being saved between rate conversion callsMax Horn
svn-id: r9344
2003-07-31back disable warnings into stdafx.h, vc6 is lack of warnings supportPaweł Kołodziejski
svn-id: r9337
2003-07-31added new header file backends/intern.h; removed some stuff from ↵Max Horn
common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h) svn-id: r9327
2003-07-31Fix for RC bug [780675] MI2: Reoccuring crashJamieson Christian
Tightened up OOB track selection handling in MidiParser. Apparently some SMFs in the Mac version of MI2 (and other games?) specify track -1 in their jump commands to indicate a jump within the same track. svn-id: r9321
2003-07-31Disabled unknown pragma warning in MSVC-6.Jamieson Christian
svn-id: r9320
2003-07-31make 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