Travis Howell
2e3833dc1f
Switch smush debug to channel
...
svn-id: r14676
2004-08-22 09:14:19 +00:00
Paweł Kołodziejski
fdb2c41cdd
increased audio buffer to solve scuttering problems
...
svn-id: r13993
2004-06-21 06:59:24 +00:00
Torbjörn Andersson
165e6c5eb5
Fixed format string to match the number of arguments.
...
svn-id: r13404
2004-03-28 14:48:05 +00:00
Eugene Sandulenko
8a2496d6c5
Fixed most bugs, so only cosmetic visual things left.
...
o Support transparency for characters. Needed for cockpit rendering
o Fixed bug in NUT renderer which drawed transparent characters garbled
o Fixed long-standing (and outstanding) bug with SAUD error
o Previous fix fixed music in some cases (scene transitions)
o Fixed bug with palette being reset when smush video is rewind
o Made debug level for insane adjustable at compile time (maybe I will remove it later)
svn-id: r12717
2004-02-02 22:40:20 +00:00
Max Horn
176aa74827
Renamed the 'pan' effect of the mixer to 'balance', since that is what we actually do; applied patch #886786 which corrects a bug in the balance code
...
svn-id: r12665
2004-01-29 18:15:27 +00:00
Paweł Kołodziejski
1f04d5a7cd
handle volume and pan by SoundMixer not SmushMixer
...
svn-id: r12287
2004-01-09 23:33:46 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
b7efa3f137
I got some buffer overflow warnings, seems 200KB isn't quite enough...
...
svn-id: r11931
2003-12-26 00:44:01 +00:00
Max Horn
859a9c0129
o Added SoundMixer::isReady()
...
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()
svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
e9269257f3
turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, mainly because people kept (accidentally and sometimes on purpose :-) misusing them
...
svn-id: r11881
2003-12-24 00:25:18 +00:00
Max Horn
73f10cd590
fix for bug #864478 (Smush audio streaming); cleanup
...
svn-id: r11855
2003-12-22 19:03:32 +00:00
Max Horn
7fbb3e0559
Cleaned up SoundMixer::newStream() a bit (I plan to replace all usages of this by playInputStream(), this cleanup eases this a bit)
...
svn-id: r11803
2003-12-21 01:17:03 +00:00
Max Horn
fbcca63058
Incorrect use of stopChannel (must be stopHandle); replaced single remaining use of stopChannel by a hack (note: the code in question is a hack in itself already)
...
svn-id: r11799
2003-12-21 00:40:42 +00:00
Max Horn
a458da989b
cleanup
...
svn-id: r11729
2003-12-18 01:22:28 +00:00
Max Horn
d7660a2662
introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
...
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
0be0196013
removed pauseMixer method from mixer, and renamed stop to stopChannel
...
svn-id: r10042
2003-09-06 10:47:30 +00:00
Paweł Kołodziejski
5a6bce590b
changed sounds volume to original volume level, and fixed sounds in bass intro
...
svn-id: r9963
2003-09-02 07:49:40 +00:00
Paweł Kołodziejski
743a3fbdaf
added sound handle stuff to mixer streams
...
svn-id: r9956
2003-09-01 13:43:22 +00:00
Paweł Kołodziejski
2533b23a60
added mixer features: volume and pan control per channel
...
svn-id: r9944
2003-08-31 20:26:21 +00:00
Max Horn
0e9c6de1c4
increased SmushMixer stream size to 500K, this seems to help in Fullthrottle. Apparently, audio data is streamed faster than it's played, and in at least one case there's ~500KB being stream in quick successions (many packets, each 16KB), which is why 100K are not sufficient
...
svn-id: r8784
2003-07-06 01:41:34 +00:00
Max Horn
5062bb06fa
100 KB instead of 2 MB audio buffer should be sufficient
...
svn-id: r8700
2003-07-02 00:53:38 +00:00
Max Horn
4ead10e4d5
Change names of the stream API in the mixer; added endStream method (stop() halts stream immediately; endStream() lets it first finish playing)
...
svn-id: r8603
2003-06-22 11:47:03 +00:00
Paweł Kołodziejski
21aa812bf1
fixed warning
...
svn-id: r8599
2003-06-22 06:27:32 +00:00
Max Horn
046dd1cfc8
fix regression I just introduced (voices in smush movies were cut off way too early)
...
svn-id: r8595
2003-06-22 01:33:03 +00:00
Max Horn
bd4370c251
lots of mixer cleanup / refactoring / reengineering
...
svn-id: r8594
2003-06-21 23:29:34 +00:00
Max Horn
7c332d7fdb
modified & cleaned up the playStream/append code a bit; but this API really could stand some refinement
...
svn-id: r8592
2003-06-21 21:17:08 +00:00
Max Horn
1733bafbda
get rid of 11025 Hz special case (I hope this is correct; only case I know of where 11025 Hz are used is during the Dig intro
...
svn-id: r8591
2003-06-21 20:57:01 +00:00
Max Horn
55e9f4ecbe
got rid of member var 'first'
...
svn-id: r8590
2003-06-21 20:40:34 +00:00
Max Horn
720837abd9
reduce code duplication a bit
...
svn-id: r8586
2003-06-21 19:58:38 +00:00
Max Horn
55d3168c59
adhere to our coding style conventions; removed some unneccessary code
...
svn-id: r8376
2003-06-07 00:45:32 +00:00
Max Horn
5ac005860c
warning() automatically outputs a newline after the warning message; adding a newline into the format string adds another newline (which contains the single char '!')
...
svn-id: r7647
2003-05-18 21:14:50 +00:00
Max Horn
1be2d3076f
som changes to make Palm OS happy
...
svn-id: r7216
2003-04-30 11:26:36 +00:00
Jonathan Gray
b50b353bcf
init member vars in right order
...
svn-id: r6822
2003-03-17 13:04:54 +00:00
Paweł Kołodziejski
06ef80fa61
reorg/clenup, changed main loop in smush code
...
svn-id: r6817
2003-03-17 12:28:50 +00:00