Commit Graph

84 Commits

Author SHA1 Message Date
Jonathan Gray
0e5a19e13e change rate for humongous DIGI sounds to 11025
svn-id: r6644
2003-02-28 11:32:43 +00:00
Max Horn
5863805e2c more stuff made 'protected'
svn-id: r6592
2003-02-08 00:38:17 +00:00
Jonathan Gray
b5d15825d3 revert part of the no sound device present stuff that was causing speech to finish prematurely
svn-id: r6583
2003-02-03 12:59:54 +00:00
James Brown
afec98c655 Stop the sound que stuff erroring(). This code was nasty, it LET itself write out of bounds -then- error()'ed. Youch.
There is still a problem, as this warning will come up quite frequently - leading me to believe the que is not being processed
properly?

svn-id: r6564
2003-01-29 04:00:45 +00:00
Paweł Kołodziejski
dc7a876136 added "implementation" of imGetMusicPosition
svn-id: r6550
2003-01-26 14:26:03 +00:00
James Brown
8d9b84b98e Patch 671701: SO_TALK_FREQUENCY
svn-id: r6547
2003-01-26 10:54:34 +00:00
Paweł Kołodziejski
091c7089f8 added assert for voice samples
svn-id: r6541
2003-01-25 20:01:23 +00:00
Paweł Kołodziejski
8e8575003b implemented properly comi sound codecs
svn-id: r6538
2003-01-25 18:41:32 +00:00
Paweł Kołodziejski
d942441f7f applied patch #674141: CMI: Smush sync tuning
svn-id: r6537
2003-01-25 12:13:41 +00:00
James Brown
5f7cd1c93d LCA'03 commit: Fix talking where no sound hardware is present
svn-id: r6536
2003-01-24 06:41:10 +00:00
Jonathan Gray
846d73c536 patch #670660 by Daniel Schepler, properly handle disc switching wrt voice file in comi
svn-id: r6522
2003-01-20 05:59:25 +00:00
Paweł Kołodziejski
050a3fcd12 fix compilation under VC6
svn-id: r6494
2003-01-18 14:00:59 +00:00
James Brown
35d3d26f0c Fix old-game resource error dialog
svn-id: r6441
2003-01-13 13:13:36 +00:00
James Brown
374e3a3f26 Fix ComI music bundle switching on disk change
svn-id: r6434
2003-01-12 19:15:30 +00:00
Paweł Kołodziejski
a8f4c821cf added missing SYNC opcode
svn-id: r6380
2003-01-10 08:25:16 +00:00
James Brown
9df455ce38 Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
room in-game, but it works for bootparams and saved games..

svn-id: r6322
2003-01-02 10:36:17 +00:00
Max Horn
d59dc6cf17 endian fix
svn-id: r6318
2003-01-01 20:59:59 +00:00
Max Horn
cdeaf66794 cleaned up soundKludge
svn-id: r6303
2002-12-31 21:56:58 +00:00
Paweł Kołodziejski
edacf91d7f fixed play CMI music
svn-id: r6246
2002-12-29 01:28:44 +00:00
Paweł Kołodziejski
8969d5e59c added missing return
svn-id: r6243
2002-12-28 21:55:32 +00:00
Paweł Kołodziejski
3102fd42e3 added more stuff for CMI music
svn-id: r6241
2002-12-28 21:46:49 +00:00
Max Horn
b794c3c375 fixed warning
svn-id: r6238
2002-12-28 16:38:15 +00:00
Paweł Kołodziejski
9d664c9003 added 16 bits samples to playVoice
svn-id: r6235
2002-12-28 15:48:37 +00:00
Paweł Kołodziejski
642cfec556 fix playVoice
svn-id: r6234
2002-12-28 15:42:44 +00:00
Paweł Kołodziejski
b90ef60f2a added CMI sound codec
svn-id: r6232
2002-12-28 15:02:23 +00:00
James Brown
540667567e Voice sample support, again missing a required codec
svn-id: r6195
2002-12-27 12:10:22 +00:00
James Brown
d3ade5b23e Add skeleton music support for CMI (but codec not implemented)
svn-id: r6193
2002-12-27 11:47:00 +00:00
Max Horn
c44512ff71 added FIXME comment
svn-id: r6178
2002-12-26 22:02:58 +00:00
Max Horn
ad7fefd34e map V8 talk opcodes to the right V6 opcodes; however, talking still locks up after the first sentence is uttered (looking into that now); various cleanup; added a guess at VAR_EGO (based on what cmidec says is the 'default_actor')
svn-id: r6176
2002-12-26 21:50:13 +00:00
Max Horn
004ea9f8eb converted heaps of int16 to int for V8 compatibility; fixed defineArray for V8; added some work in o8_kludge2
svn-id: r6132
2002-12-25 14:46:39 +00:00
Jamieson Christian
50b69cb2db Fixed inappropriate expiration of sound resources,
which fixes concurrency issues esp. in PocketPC and MorphOS.
Stubbed SysEx command 2 (start of song) to get rid of annoying warning.
Changed MT-32 instrument warnings to fit on one (80-char) line.

svn-id: r5842
2002-12-05 21:45:55 +00:00
Max Horn
1a97719ae5 fix warning when compiling w/o vorbis/mp3 support
svn-id: r5603
2002-11-19 01:52:22 +00:00
Jamieson Christian
5da9c10dab Fixes to Master/SFX/Music volumes:
- All are in 0-255 range now. No 0-127 mismatches.
- Master volume now affects SFX and Music, consistent with LEC behavior.
- The [ and ] keys now affect Music volume, not Master. Consistent with LEC behavior.
Also changed [ and ] increment to 16, for 256/16 = 16 volume increments outside the GUI.

svn-id: r5592
2002-11-17 17:59:00 +00:00
Max Horn
775adc7a4f more initialisation fixes
svn-id: r5533
2002-11-13 15:08:22 +00:00
Max Horn
973032dd90 fixed warnings
svn-id: r5425
2002-11-05 21:29:44 +00:00
Max Horn
4bde7140a2 fix for bug #633082; added some asserts to catch similiar problems in the future
svn-id: r5417
2002-11-05 13:39:09 +00:00
Jonathan Gray
6614318d2f fix the fixme.. changing one of the pcm_seek calls back to time_seek was what I meant to do...
svn-id: r5356
2002-10-31 00:39:48 +00:00
Jonathan Gray
605b7f1d2a force non integer math to make loom work properly with vorbis again
svn-id: r5355
2002-10-31 00:32:54 +00:00
James Brown
63ee97b1ee Fix using MAD -without- Vorbis, and remove COMPRESSED_SOUND_FILE define.
Please keep in mind that if you put an 'else' statement in an if clause, keep in mind that if the code it's supposed to
'else' is in another define.... and that isn't set... the NEXT statement of code will be used as the 'if..else'
condition.

svn-id: r5344
2002-10-28 12:56:42 +00:00
Paweł Kołodziejski
bf3505da5c don't put samples into stream SoundMixer if sound card is disabled
svn-id: r5338
2002-10-27 19:32:36 +00:00
Travis Howell
a0734ef3f9 Add monster.sog support, patch #629362
Enable ogg support by default in mingw builds and link in ogg lib

svn-id: r5333
2002-10-27 11:41:08 +00:00
Jonathan Gray
d93e639086 patch #628997 support for ogg vorbis instead of cd tracks by Daniel Schepler. Uncomment the relevant lines in the makefile to use
svn-id: r5320
2002-10-27 01:12:10 +00:00
Max Horn
ab13e67b09 fix -Wshadow warnings
svn-id: r5270
2002-10-23 00:24:43 +00:00
Max Horn
5151e561d5 fixing various warnings that occur with -Wshadow;some other minor cleanup
svn-id: r5239
2002-10-22 11:48:24 +00:00
James Brown
34ec25201c Patch 622642
svn-id: r5218
2002-10-21 16:27:23 +00:00
Max Horn
8af300fec3 The terms Word and DWord are somewhat Windows centric; in fact there are systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious
svn-id: r5216
2002-10-21 13:23:25 +00:00
Max Horn
31c773923e use File::size() method were it makes sense; one small change to simon.cpp based on comment on bug #595813
svn-id: r5210
2002-10-21 12:34:54 +00:00
James Brown
628eea3de4 Patch 625904: CD Looping
svn-id: r5199
2002-10-20 13:17:43 +00:00
James Brown
80ce915f3d Fix Wait:forActorDraw and the 'infinite mouth movement' problem in The Dig.
Code assumed that the actor always starts talking in the same room it finishes talking in - this doesn't apply for several cutscene
sequences in The Dig. Also added the usual talkChannel fallback code in for The Dig.

svn-id: r5186
2002-10-18 11:45:57 +00:00
James Brown
96c900f095 Make it possible to disable digitalimuse by just commenting out it's
creation in scummvm.cpp

svn-id: r5162
2002-10-16 09:11:08 +00:00