Age | Commit message (Collapse) | Author |
|
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
|
|
svn-id: r9214
|
|
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
|
|
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
|
|
svn-id: r9192
|
|
svn-id: r9190
|
|
svn-id: r9189
|
|
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
|
|
svn-id: r9183
|
|
svn-id: r9181
|
|
requested in the 'resample' algorithm (if possible)
svn-id: r9180
|
|
InputStream -> AudioInputStream and cleaned up the hierarchy of its subclasses; added makeInputStream() auxillary function
svn-id: r9179
|
|
that my mixer.cpp changes are on purpose not yet in CVS since they are not complete. Only reasons I checkin these files is that it's much more comfortable to have CVS, since I need to rewrite parts of resample.cpp now (I already have lots of modifications in). Also expect more OO in the future
svn-id: r9176
|
|
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
|
|
svn-id: r9061
|
|
svn-id: r9023
|
|
svn-id: r9022
|
|
svn-id: r8951
|
|
svn-id: r8940
|
|
dynamic cast with EVC 3 / Fix Tremor Ogg support
svn-id: r8937
|
|
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.
svn-id: r8903
|
|
Modified Smart Jump logic to deal with active notes
whose Note On and Note Off events BOTH occur OUTSIDE
the range of the jump. While this is not a thorough
way to deal with Note On events that occur outside
jump points, it at least deals with the issue of
long, unchanging Adlib SFX used by some earlier
SCUMM games.
svn-id: r8892
|
|
svn-id: r8849
|
|
cover setupPremix by the mutex, too (that helps preventing race conditions upon exit)
svn-id: r8809
|
|
_toBeDestroyed; also, instead of keeping a global _handles array in the mixer, let each Channel manage its own handle
svn-id: r8808
|
|
the mixer thread is running, because the mixer thread may modify _channels
svn-id: r8805
|
|
svn-id: r8792
|
|
svn-id: r8785
|
|
svn-id: r8782
|
|
now in util.*)
svn-id: r8777
|
|
svn-id: r8763
|
|
svn-id: r8746
|
|
don't see why the next call to insertChannel is immune to the same theoretical problem :)
svn-id: r8742
|
|
Zak256 sounds only loop a part of the sample - which our mixer API doesn't yet support.
svn-id: r8741
|
|
svn-id: r8726
|
|
and on BE systems, READ_BE_UINT16 is actually faster ;-)
svn-id: r8706
|
|
svn-id: r8664
|
|
svn-id: r8645
|
|
svn-id: r8613
|
|
svn-id: r8611
|
|
svn-id: r8610
|
|
'add 0' to every byte in the output buffer, i.e.: do nothing
svn-id: r8609
|
|
svn-id: r8608
|
|
halts stream immediately; endStream() lets it first finish playing)
svn-id: r8603
|
|
recent changes :/
svn-id: r8598
|
|
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
|
|
to insertChannel and simplified/unified its usage; delete the mutex when exiting; cleanup
svn-id: r8596
|
|
svn-id: r8594
|
|
could stand some refinement
svn-id: r8592
|
|
svn-id: r8584
|