Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-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 | fixed MP3InputStream, now seems to work properly (kind of a surprise) | Max Horn | |
svn-id: r9345 | |||
2003-07-31 | icur was not being saved between rate conversion calls | Max Horn | |
svn-id: r9344 | |||
2003-07-31 | back disable warnings into stdafx.h, vc6 is lack of warnings support | Paweł Kołodziejski | |
svn-id: r9337 | |||
2003-07-31 | added 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-31 | Fix for RC bug [780675] MI2: Reoccuring crash | Jamieson 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-31 | Disabled unknown pragma warning in MSVC-6. | Jamieson Christian | |
svn-id: r9320 | |||
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 | removed the AudioInputStream::size method -> only eof() is really needed, ↵ | Max Horn | |
and this can be implemented more efficiently stand-alone; implemented MP3InputStream (work in progress) svn-id: r9313 | |||
2003-07-31 | cleanup | Max Horn | |
svn-id: r9312 | |||
2003-07-30 | fixed incorrect MSVC fixes; simplified readSample code (bugs #780167 and ↵ | Max Horn | |
#780420) svn-id: r9302 | |||
2003-07-30 | the VC warning for unknown pragmas is now gloabally disabled, no need to ↵ | Max Horn | |
work around it locally svn-id: r9300 | |||
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 | account for the data in the _buffer, too | Max Horn | |
svn-id: r9276 | |||
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 | added VorbisInputStream | Max Horn | |
svn-id: r9271 | |||
2003-07-29 | added makeRateConverter factory function | Max Horn | |
svn-id: r9270 | |||
2003-07-29 | Fix mingw compile | Travis Howell | |
svn-id: r9269 | |||
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-28 | make wrapped stream work (I can hear some music in CoMI now before it ↵ | Max Horn | |
segfaults :-) svn-id: r9258 | |||
2003-07-28 | moved st_gcd to resample.cpp | Max Horn | |
svn-id: r9257 | |||
2003-07-28 | rewrote the input streams, this should be more straightforward and inline ↵ | Max Horn | |
slightly better (the fact that the main AudioInputStream methods are virtual still means that no inlining can take place there; but of course, if we did change that, all the rate converters would have to exist in 8, instead of currently 2, compiled versions) svn-id: r9256 | |||
2003-07-28 | more work on WrappedMemoryStream (not yet tested) | Max Horn | |
svn-id: r9253 | |||
2003-07-28 | instead of 'int channels', use 'bool stereo' (less extensible, but then I ↵ | Max Horn | |
don't think we'll ever support 5.1 sound :-)); fixed a bug in st_rate_flow where it sometimes would overflow the output buffer; made CopyRateConverter a template, too, increasing efficency svn-id: r9239 | |||
2003-07-28 | added CopyRateConverter (used if inrate == outrate) | Max Horn | |
svn-id: r9214 | |||
2003-07-28 | use a single converter for both channels (if input data is stereo), for ↵ | Max Horn | |
improved efficency; renamed MemoryAudioInputStream -> LinearMemoryStream and use some template voodoo to make the baseclass of Input8bitSignedStream etc. variable; added (commented out) draf of WrappedMemoryStream svn-id: r9209 | |||
2003-07-26 | For for Bug [775654] DOTT: Hanging notes | Jamieson Christian | |
Corrected active notes tracking when switching between Type 2 SMF tracks. Although Note Off events from the previous track are properly simulated, those sustaining notes are cleared from the active notes list so that jumps within the new track will not attempt to sustain them again. svn-id: r9194 | |||
2003-07-26 | oops accidentally broke the 'old' 8bit resampling code :-( | Max Horn | |
svn-id: r9192 | |||
2003-07-25 | move AudioInputStream implementations & makeInputStream into separate .cpp file | Max Horn | |
svn-id: r9190 | |||
2003-07-25 | reduced source code duplication | Max Horn | |
svn-id: r9189 | |||
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-25 | round to nearest | Max Horn | |
svn-id: r9183 | |||
2003-07-24 | whitespace | Max Horn | |
svn-id: r9181 | |||
2003-07-24 | added volume support; some cleanup; provided exactly as many samples as were ↵ | Max Horn | |
requested in the 'resample' algorithm (if possible) svn-id: r9180 | |||
2003-07-24 | added RateConverter classes as thin wrappers around st_* functions; renamed ↵ | Max Horn | |
InputStream -> AudioInputStream and cleaned up the hierarchy of its subclasses; added makeInputStream() auxillary function svn-id: r9179 |