Commit Graph

231 Commits

Author SHA1 Message Date
Nicola Mettifogo
1e985051a9 reduced dependency from windows-specific header files
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn
eeda548204 Explicitly #include fcntl.h and unistd.h for the open/write/close syscalls
svn-id: r26026
2007-03-08 20:42:40 +00:00
Max Horn
8778f121e2 Replaced uses of fprintf() with warning() or error()
svn-id: r26022
2007-03-08 17:23:19 +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
Torbjörn Andersson
a3ea44fd48 Some updates (mostly guesswork) for the ALSA MIDI driver, mostly prompted by
Waxworks (Simon engine). See http://www.borg.com/~jglatt/tech/midispec.htm for
reference.

* Added case for Aftertouch (Key Pressure).

* Changed Channel Pressure to flush the event immediatley. The message could
  apply to notes while they are playing.

* Downgraded the error for unknown MIDI messages to a warning, and clarified it
  slightly.

svn-id: r23949
2006-09-20 17:16:58 +00:00
Chris Apers
8922513d9f Fixed compilation
svn-id: r23913
2006-09-17 10:08:16 +00:00
Max Horn
04709491f7 Avoid using exceptions
svn-id: r21894
2006-04-14 23:21:59 +00:00
Max Horn
e4930bd96d Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead
svn-id: r21605
2006-04-04 21:45:13 +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
Oystein Eftevaag
c3d8674a26 Adds support for building on Intel Macs, using a modified
version of patch 1448395 by Aubin and some of my 
own changes.

Notably:
* Two elements of a struct in backends/midi/quicktime.cpp
needed to be forced to BE.
* NASM set to build Mach-O binaries
* configure now checks for Altivec support on Darwin hosts,
instead of assuming it. Altivec support can also be disabled (not 100% sure if t
his is actually needed, but might be handy for crosscompiling).
* The aliasing of the symbols contained in the .asm files
done on Windows were also needed on MacOS.

Note that while the asm code is properly compiled and linked
in, HQ2/3x support will still not work properly on Intel macs
if NASM is enabled.

svn-id: r21280
2006-03-14 12:18:04 +00:00
Eugene Sandulenko
233c2a42f9 WIP of maemo port
svn-id: r21055
2006-03-04 01:32:04 +00:00
Torbjörn Andersson
278d0de012 Fixed compilation.
svn-id: r20953
2006-02-27 07:18:49 +00:00
Jamieson Christian
2469e00248 SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers.

svn-id: r20952
2006-02-27 01:59:07 +00:00
Willem Jan Palenstijn
2d2258f596 clear ALSA event structure before use
svn-id: r20951
2006-02-27 00:01:29 +00:00
Max Horn
a161b09728 Moved dummy MIDI driver from backends/ to sound/ (this fixes bug #1435221)
svn-id: r20878
2006-02-25 14:45:31 +00:00
Chris Apers
0a5cd1ce98 Disable Adlib on PalmOS 68k devices
svn-id: r20575
2006-02-11 19:01:06 +00:00
Max Horn
cbb2ca005c Change CVS keywords to SVN keywords
svn-id: r20535
2006-02-11 12:47:47 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Max Horn
549c6ea871 Fixed the CoreMIDI driver -- MT-32 now sounds perfect under Mac OS X :-)
svn-id: r19860
2005-12-30 14:41:25 +00:00
Max Horn
93bef2e0be Switched the CoreAudio driver to use an AUGraph; this simplifies things a lot and should also cope with the user switching the default output device while ScummVM is running
svn-id: r19835
2005-12-26 20:54:24 +00:00
Max Horn
fcf1af2ffc New CoreMIDI midi backend for OS X
svn-id: r19832
2005-12-26 11:18:25 +00:00
Jonathan Gray
25794c23e2 Default to /dev/sequencer before /dev/null if no MIDI device
is specified.

svn-id: r19480
2005-11-06 01:23:40 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8a59ff208c Fix more GCC 4.0 warnings
svn-id: r18533
2005-07-11 00:48:27 +00:00
Max Horn
bf507bfa11 cleanup
svn-id: r18484
2005-07-02 13:01:59 +00:00
Max Horn
9d00744954 Small fixes
svn-id: r18483
2005-07-02 12:54:53 +00:00
Max Horn
7970562356 Hackish native MIDI HW support for Mac OS X (incomplete)
svn-id: r18481
2005-07-02 12:52:30 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
28e40b33a7 Add a comment regarding use of CoreAudio/AudioUnits v1 API
svn-id: r17916
2005-05-05 11:57:52 +00:00
Max Horn
3ea96a13a0 If we don't want to use reverb, then at least disable it properly, not via a bad hack
svn-id: r17671
2005-04-18 18:02:07 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
fec3df2096 Moved the softsynth midi drivers into a sound/softsynth; amongst other things, this fixes bug #1083058
svn-id: r16316
2004-12-25 18:34:44 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Jerome Fisher
470a83e024 Synched with upstream (Munt 0.1.1).
Memory timbres are now loaded into the correct location again, and reaching the end of a PCM sample has been improved. The latter change is probably the only one relevant to ScummVM, and even that is unlikely to be audible.

svn-id: r15972
2004-12-02 23:00:15 +00:00
Jerome Fisher
e757242937 - Fixed uninitialised reverb level. This bug took embarrassingly long to find...
svn-id: r15962
2004-11-29 02:21:35 +00:00
Jerome Fisher
e61e0f27a0 - Now actually read and write the 4 bytes of tuning frequency info in the header.
svn-id: r15961
2004-11-29 01:05:15 +00:00
Max Horn
10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Jerome Fisher
1f56326bd5 - Now sets the palette earlier, and only once.
svn-id: r15948
2004-11-28 22:23:13 +00:00
Jerome Fisher
87fc0548f9 - Now sets itself as a "permanent" mixer channel.
svn-id: r15947
2004-11-28 22:17:06 +00:00
Eugene Sandulenko
1947aa48ac Initialize palette for the progress bar
svn-id: r15945
2004-11-28 21:31:46 +00:00
Jerome Fisher
6c84bbf2bd - Cleanup.
- Signedness fix.
- Changed partial age to 32-bit... They don't exactly run until the heat-death of the universe.

svn-id: r15943
2004-11-28 21:08:37 +00:00
Max Horn
3da8e08c0c Fixed various warnings
svn-id: r15939
2004-11-28 13:10:57 +00:00
Max Horn
540ba778e9 fixed an unsigned comparision warning (does this code really do what you intended it to do?)
svn-id: r15938
2004-11-28 13:09:02 +00:00
Max Horn
3225ae0203 const correctness fix
svn-id: r15937
2004-11-28 13:08:23 +00:00
Jerome Fisher
6d255be202 - More cleanup.
- Another tuning tweak. Sounds better to my ear, but still guesswork.

svn-id: r15934
2004-11-28 07:25:18 +00:00
Jerome Fisher
c5915d19d0 - Now really use g_scummfont everywhere.
svn-id: r15933
2004-11-28 07:08:54 +00:00
Jerome Fisher
2a3b7efc3d - Now uses g_scummfont instead of g_sysfont.
- Added default case to event switch to eliminate compiler warning.

svn-id: r15932
2004-11-28 07:07:15 +00:00