Commit Graph

39 Commits

Author SHA1 Message Date
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Alyssa Milburn
b9a93f354b Revert "SKY: Map the floppy intro track."
This reverts commit 0599145ecf.
This mapping was incorrect, 503 is the outro.
2012-02-07 13:20:50 +01:00
Alyssa Milburn
0599145ecf SKY: Map the floppy intro track. 2011-11-22 14:57:25 +01:00
Alyssa Milburn
9abc601e53 SKY: Don't loop the floppy intro track.
This isn't relevant at present, so this is "just in case".
2011-11-22 14:21:47 +01:00
Alyssa Milburn
7a12796bba SKY: Support external digital music tracks.
This allows replacement of the supplied MIDI music with tracks from
the Music Enhancement Project.
2011-11-14 20:45:00 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
8c931fd1e8 AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use it 2011-03-28 18:06:36 +02:00
Max Horn
7b02dac3c5 ENGINES: Use Common::StackLock in more places 2011-03-23 15:25:46 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Johannes Schickel
6588398ce6 MIDI: Send a reset MIDI device signal on startup.
This is currently done in the engine code. I adapted AGI, AGOS, DRACI,
GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset
device on startup. The sound output still works fine (started up a game
from every engine), so this should hopefully not introduce any regressions.

As far as I can tell it seems that SCUMM does send a proper device reset, so
I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am
not sure about SCI though.

This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI".

svn-id: r52736
2010-09-15 22:00:20 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
e77985d1fd Fix bug #2982014 "BASS: MT-32 warning on Intro skipping" by properly delaying the sysEx events.
svn-id: r48536
2010-04-05 09:08:48 +00:00
Johannes Schickel
bfcdbae648 Change some comments to use "AdLib" instead of "adlib".
svn-id: r47534
2010-01-25 00:39:46 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Joost Peters
f051fbb9d8 Formatting changes / consistency
svn-id: r36304
2009-02-13 16:55:16 +00:00
Christopher Page
0f41f1ccf4 SKY: Fixed a memory leak in SKY engine
svn-id: r32578
2008-06-06 16:40:39 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
675fc8ab71 Whitespace fix
svn-id: r27762
2007-06-28 19:48:41 +00:00
Willem Jan Palenstijn
1af6b35edb increase mt-32 sysex delay to prevent buffer overflow (see FR#1393726)
svn-id: r27731
2007-06-26 22:33:07 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
d4660cce55 Removing more semicola
svn-id: r26597
2007-04-26 19:08:53 +00:00
Robert Göffringmann
c0ca592d54 fixed graphic glitch when playing the floppy intro with spanish subtitles and added a few comments.
svn-id: r26333
2007-03-31 18:20:52 +00:00
Robert Göffringmann
139608f451 Fixed bug #1678349: BASS: music is off, but drum track plays
svn-id: r26219
2007-03-18 17:58:26 +00:00
Robert Göffringmann
3f6745a2f4 Applied eriktorbjorn's patch for bug #1657466:
"BASS: wrong music slider behavior"
and did some cleanup.

svn-id: r26208
2007-03-18 14:08:34 +00:00
Max Horn
4e5aa19f74 fix warning
svn-id: r26073
2007-03-10 22:49:19 +00:00
Torbjörn Andersson
8d4e8adef3 Let the mixer worry about converting mono to stereo.
svn-id: r26065
2007-03-10 17:39:27 +00:00
Max Horn
227a080e5b Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by me
svn-id: r25752
2007-02-20 18:50:17 +00:00
Torbjörn Andersson
ee13273fc4 More header fixes for that warm and fuzzy feeling of consistency.
svn-id: r25749
2007-02-20 17:52:55 +00:00
Max Horn
4db72c8762 Unified how we deal with (and how we generate) MIDI sysex messages -- in particular, we now always do so w/o framing the message (documented this with a Doxygen comment in the MidiDriver class)
svn-id: r25630
2007-02-16 13:30:41 +00:00
Joost Peters
bf6ba21d83 commit "fixed regression in BASS adlib music." from 0-9-0 branch to trunk
svn-id: r24204
2006-10-08 12:31:05 +00:00
Torbjörn Andersson
ff38faa21d The stopMusic() function (which is publicly accessable from the outside) now
locks the mutex to avoid pulling the proverbial rug out from beneath the timer
callback's proverbial feet. To stop the music when the mutex is already locked,
we use stopMusicInternal(), which is a protected function. This will hopefully
fix the crash on exit which has happened to me every few months.

svn-id: r23159
2006-06-17 15:54:40 +00:00
Max Horn
27307acd7c Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
svn-id: r22231
2006-04-29 22:33:31 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00