Max Horn
1a7ca2dc2a
AudioStream::read() has been removed quite some time ago, now making sure that change is reflected everywhere
...
svn-id: r15911
2004-11-27 13:54:09 +00:00
Max Horn
96804652a2
cleanup
...
svn-id: r15863
2004-11-22 22:52:48 +00:00
James Brown
4aa5649c1e
Erm, this was never meant to be commited. I might as well leave the .h change for now, until kyra is investigated further.
...
svn-id: r15788
2004-11-11 14:19:38 +00:00
James Brown
cb4b3c1f7e
Prevent infinite loop by displaying the launcher after a game start FAILURE too.
...
svn-id: r15787
2004-11-11 14:01:11 +00:00
Eugene Sandulenko
805b21181a
Major MT-32 emu overhaul based on KingGuppy's code.
...
o added configure option
o mi2 intro doesn't freeze anymore and has no sound glitches
o missing instruments in many titles are fixed
o numerous memory overwrite bugs are fixed
o code is cleaned a lot and splitted into many smaller files
o mt32.cpp went to backends/midi
o synced with upstream code
o reverberation fixed
* don't complain about File class wrapper :)
* all custom types are back
* #pragmas are to do
* maybe some indentation is wrong too
I prefer smaller commits, but this thing came in one piece.
svn-id: r15715
2004-11-06 01:41:32 +00:00
Eugene Sandulenko
775bd838c7
Delegate channel functions to any MidiDriver. This is useful for the
...
MT-32 emulation and quite possibly other MidiDrivers in future.
svn-id: r15711
2004-11-04 21:34:17 +00:00
Max Horn
5f4575ccd0
Doxygen fixes
...
svn-id: r15699
2004-10-30 21:52:57 +00:00
Paweł Kołodziejski
c10cce6af1
fixed warnings
...
svn-id: r15665
2004-10-23 13:39:03 +00:00
Chris Apers
dc02e95cd7
Prepare true AdLib support on PalmOS
...
svn-id: r15649
2004-10-22 12:11:24 +00:00
Eugene Sandulenko
9d0b746aaa
Patch #1048326 Better MT-32 support
...
svn-id: r15635
2004-10-21 22:37:37 +00:00
Max Horn
697da0eb9b
Add comment
...
svn-id: r15595
2004-10-17 19:39:54 +00:00
Max Horn
9f4bf02c1e
Fix playback of MP3 files till EOF in some cases
...
svn-id: r15587
2004-10-17 13:49:11 +00:00
Max Horn
1036e88aa6
Implement premix proc via an AudioStream / Channel (eventually we'll remove the setupPremix method which takes a proc pointer)
...
svn-id: r15522
2004-10-11 22:01:21 +00:00
Eugene Sandulenko
ae7421ae2b
Make AppendableAudioStream endianness-aware.
...
svn-id: r15491
2004-10-09 22:51:00 +00:00
Max Horn
ce8c99bf62
Rename remaining OSystem methods to match our coding guidelines
...
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
f66960c4b9
Remove obsolete path param
...
svn-id: r15278
2004-09-25 23:33:34 +00:00
Max Horn
61b7e2155a
Fix doxygen warnings
...
svn-id: r15277
2004-09-25 23:26:46 +00:00
Max Horn
9ec7b57f9b
Fix potential race condition
...
svn-id: r15191
2004-09-19 13:54:24 +00:00
Travis Howell
e22230e223
Actually check if a sound is active, if the sound is outside music engine.
...
Add some more HE differences
svn-id: r15188
2004-09-19 12:22:47 +00:00
Paweł Kołodziejski
0e9967afe1
smush tracks are not music channel, removed outdated dimuse comment
...
svn-id: r15167
2004-09-18 14:31:36 +00:00
Paweł Kołodziejski
3a19ca1be3
fixde bug IMUSE+DEBUG
...
svn-id: r14892
2004-09-04 13:13:23 +00:00
Max Horn
3511e688ab
Fix for bug #1022265 (Memory leak in vorbis.cpp?)
...
svn-id: r14889
2004-09-04 10:12:22 +00:00
Max Horn
759cd67de5
cleanup of TimerProc mess
...
svn-id: r14683
2004-08-22 13:27:34 +00:00
Max Horn
cebd4a24cb
Remove orphaned TODO
...
svn-id: r14517
2004-08-08 15:22:47 +00:00
Travis Howell
5e7d2494bb
Update comment
...
svn-id: r14456
2004-08-03 10:11:54 +00:00
Travis Howell
2b1c98b6ea
Add comment
...
svn-id: r14455
2004-08-03 09:46:38 +00:00
Travis Howell
fd2e14f33c
Add invalid version used by French Simon2
...
svn-id: r14453
2004-08-03 03:18:51 +00:00
Max Horn
4b6dae31eb
changed loadVOCFile to work on a generic ReadStream instead of a File, and renamed it to loadVOCFromStream; removed readVOCFromMemory as it isn't used anymore, and in the future, a MemoryReadstream plus loadVOCFromStream can achieve the same effect
...
svn-id: r14383
2004-07-31 11:46:58 +00:00
Torbjörn Andersson
70f8f689a1
Applied patch #957544 to make output sample rate configurable at runtime.
...
svn-id: r14225
2004-07-16 10:24:29 +00:00
James Brown
9756a420a3
Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :)
...
svn-id: r14188
2004-07-11 04:41:48 +00:00
Paweł Kołodziejski
c7133de879
getFreeSpace() is not longer used
...
svn-id: r14136
2004-07-01 04:43:32 +00:00
Max Horn
4f80e2f36b
Fix for bug #981991 (VORBIS: Crash when using Ogg Vorbis CD tracks)
...
svn-id: r14128
2004-06-29 23:27:18 +00:00
Max Horn
e0eab01e63
Make use of new File refcount code; also fixed long standing bug in vorbis code (ov_clear was not being called, resulting in a file not being closed)
...
svn-id: r14107
2004-06-28 22:35:22 +00:00
Torbjörn Andersson
51b373eb6f
Fixed a typo in a comment.
...
svn-id: r13948
2004-06-09 06:30:49 +00:00
Torbjörn Andersson
6dc0191e03
Make allNotesOff() also turn off all "hanging notes". Without this change,
...
I wasn't able to fully stop ITE's XMIDI music - there would always be a
couple of notes hanging even after unloading it. Apparently this music
doesn't use the "active notes" mechanism at all, and I guess the ALSA
driver doesn't support the "All Note Off" event.
I'm still not 100% sure this is the correct fix, but unless someone has any
better idea...
svn-id: r13910
2004-05-31 08:51:10 +00:00
Nicolas Bacca
ab9598e2f5
Config sample switch for WinCE
...
svn-id: r13815
2004-05-09 14:26:01 +00:00
Max Horn
90cced2a5b
Remove odd sample rate hack (for DOTT demo); instead, be slightly less strict about VOC headers, since DOTT demo (and maybe others) use buggy VOC headers
...
svn-id: r13787
2004-05-05 10:58:07 +00:00
Max Horn
151d92e8cd
Explain a bit what getSampleRateFromVOCRate() does; mark a hack in it more clearly; disable warning
...
svn-id: r13756
2004-05-02 22:33:28 +00:00
Torbjörn Andersson
3ebb895e9a
Doubled the buffer size to prevent crashes with the Inherit the Earth
...
MIDIs. This is a temporary fix - Jamieson630 said something about making a
better fix later - but it will have to do for now.
svn-id: r13719
2004-05-01 16:42:58 +00:00
Jamieson Christian
72568a8b43
Fix for [945497] Possible bug in midiparser_smf.cpp
...
Corrected Type 0 SMF compression to properly account
for command lengths when Running Status is being used.
Also increased buffer size for Type 0 output since
Running Status can result in the Type 0 output being
larger than the source data. Needs some more work,
but at least the Wyrmkeep people can keep going in
the meantime.
svn-id: r13707
2004-05-01 13:16:45 +00:00
Torbjörn Andersson
182cbf7091
Changed printf() to warning()
...
svn-id: r13684
2004-04-30 17:48:20 +00:00
Torbjörn Andersson
a0623e6012
Changed printf() to warning(). (Even in the case where the message used to
...
say "ERROR".)
svn-id: r13677
2004-04-29 11:57:25 +00:00
Torbjörn Andersson
92407c56b3
Changed printf() to warning(), plus some formatting changes.
...
svn-id: r13676
2004-04-29 11:51:11 +00:00
Paweł Kołodziejski
d2fa7bbcc7
synced code free space with buffer changes
...
svn-id: r13646
2004-04-26 20:48:09 +00:00
Jamieson Christian
f7084c20e9
MIDI control change 18 is no longer transmitted.
...
It is not a valid MIDI control change message.
It is used internally in the SCUMM MIDI tracks
to indicate part priority.
The only MidiDriver that needs it is Adlib.
It should be noted that the priority values are
out of bounds for a regular MIDI message anyway.
Valid control change values are 0-127, but the
priority value ranges from 0-255.
This fixes a crash with a certain software MT-32
emulator running under Linux. Thanks to olki for
bringing up this issue.
svn-id: r13645
2004-04-26 20:34:59 +00:00
Jamieson Christian
4ee0365a23
Tweaked a few things to accommodate
...
MSVC6's idiosyncracies.
svn-id: r13644
2004-04-26 20:28:34 +00:00
Paweł Kołodziejski
43979c9012
delete CustomProcInputStream and add getFreeSpace for appendable audiostream
...
svn-id: r13629
2004-04-25 18:43:46 +00:00
Paweł Kołodziejski
6680c5368d
added CustomProcInputStream
...
svn-id: r13570
2004-04-13 05:57:52 +00:00
Max Horn
6bf0cce89c
Clean up VOC code, and fix potential out-of-bounds access
...
svn-id: r13535
2004-04-10 22:34:07 +00:00
Max Horn
56b5b9f7df
Fix for bug #885490 (FT: Ben stops talking mid-scentence @ the gorge) -> this only works for monster.sou files; compressed audio is incomplete, and we have to fix the extract tool to correct that
...
svn-id: r13531
2004-04-10 01:46:38 +00:00