aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
AgeCommit message (Collapse)Author
2003-08-15A different fix for Bugs item #788531.Jochen Hoenicke
Allocate a 4th channel and map all accesses to out of bounds channels to this channel. svn-id: r9705
2003-08-15Fix for Bug [788531] Indy3VGA - Access violation with PC Speaker "travel" musicJamieson Christian
Checked for OOB channel clear command. The "travel" music in question seems to try to clear channel 4 when there are only channels 0-3. Now we check and bail if OOB. Perhaps this isn't quite the correct thing to do. Would channel 4 be significant, as in perhaps "clear ALL channels"? Hoenicke should answer this one. svn-id: r9700
2003-08-14Don't create imuse for v1 and v2 games (otherwise getSoundStatus doesn't work).Jochen Hoenicke
PCjr support for V1 games, bug fix in speaker support. set_pcjr is now called by Player_V2 constructor according to midi driver. Renaming of member variables to begin with an underscore. svn-id: r9692
2003-08-13More monkeyvga credits fix for -epcspk/pcjrJamieson Christian
svn-id: r9666
2003-08-13Fix monkeyvga hang when using -epcspk/pcjrJamieson Christian
svn-id: r9665
2003-08-12Fixed the freqency of one note. This bug is also in the original LucasJochen Hoenicke
Arts Games... svn-id: r9648
2003-08-05added support for output sample rates > 32767 (still limited to a max of ↵Max Horn
65535, but all we care about are 44100 and 48000 anyway) svn-id: r9510
2003-06-27cleanupMax Horn
svn-id: r8662
2003-06-15cleanupMax Horn
svn-id: r8494
2003-06-07This should be the right check for header_len.Jochen Hoenicke
I first thought that old games did not have GF_SMALL_HEADER. svn-id: r8379
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06I have no idea if this is right, but at least sound seems to be workingTorbjörn Andersson
again in Maniac Mansion, Zak and EGA Loom. svn-id: r8365
2003-06-06Added a fix for music_timer in V3 games.Jochen Hoenicke
svn-id: r8361
2003-06-05Synchronize channels playing the same frequency. This preventsJochen Hoenicke
interference effects. svn-id: r8318
2003-06-01I forgot one note_length entry.Jochen Hoenicke
svn-id: r8247
2003-06-01Added VAR_MUSIC_TIMER support to playerV2. Now Zak intro is synchronized.Jochen Hoenicke
svn-id: r8245
2003-06-01Added new note-lengths of indy3ega/loom. Fixed internote spacing.Jochen Hoenicke
svn-id: r8242
2003-05-31fixed warningMax Horn
svn-id: r8188
2003-05-31Made thread-safe.Jochen Hoenicke
PCjr support. Rewrote the generator, so I can reuse more code between PCjr and speaker output. Added function to set master volume and to switch between PCjr and speaker. svn-id: r8185
2003-05-31Added missing random freqmod entries (water doesn't beep anymore :)Jochen Hoenicke
Removed extra newlines from debugging output. svn-id: r8166
2003-05-31Cleaned up the sample generator.Jochen Hoenicke
Added support for new opcodes as they are in Loom. I didn't enable Loom sound, as there are some issues (indyega, loomdemo) that need to be resolved first. svn-id: r8165
2003-05-26Fixed shadow variableJamieson Christian
svn-id: r8025
2003-05-26Added Hoenicke's PC-speaker waveform generatorJamieson Christian
and script interpreter for GF_OLD_BUNDLE music resources. We'll try to get the waveform generator into a MidiDriver wrapper for use with the 'SPK' resources of later games, but this is usable for now. Great work, Hoenicke! svn-id: r8023