Commit Graph
411 Commits
Author SHA1 Message Date
Glenn Maynard 67c1e5c6fb make sure we don't access snd after stopping 2005-01-05 00:03:00 +00:00
Glenn Maynard 4fbd89dd7d fix comment 2005-01-04 23:48:31 +00:00
Glenn Maynard b32bb5743a fix some audio skips: cap at 4x fill, not 2x 2005-01-03 10:31:59 +00:00
Glenn Maynard 5bf62b2bc8 don't output diagnostics when not used 2004-12-01 19:18:58 +00:00
Glenn Maynard 65ca46608d fix crash 2004-12-01 19:17:26 +00:00
Steve Checkoway 2b6350e63b Compile fix. 2004-12-01 06:30:49 +00:00
Glenn Maynard eaf68a4271 exceptions (untested) 2004-12-01 00:31:44 +00:00
Glenn Maynard debbe87224 exceptions 2004-12-01 00:23:13 +00:00
Glenn Maynard efe9fdb0f2 exceptions 2004-12-01 00:12:45 +00:00
Glenn Maynard 67d777f050 exceptions 2004-12-01 00:06:41 +00:00
Glenn Maynard cac8e02281 log play cursor history on underrun 2004-11-30 23:02:26 +00:00
Glenn Maynard 227e8ee78b exceptions 2004-11-30 21:49:02 +00:00
Glenn Maynard 876d741158 cleanup 2004-11-30 21:43:40 +00:00
Glenn Maynard 27bf6903ce exceptions 2004-11-30 21:36:36 +00:00
Glenn Maynard e3b9a4bacc flush the sound to the write position, not the play position 2004-11-04 00:20:48 +00:00
Glenn Maynard 26faea2615 Revert. FLUSHING was defined by me, so it's not possible for me to have
misconceptions about what it means.  :)  Probable real fix in a moment
(that doesn't cause us to waste resources mixing silence).
2004-11-04 00:19:18 +00:00
Ben Anderson 0322d5d447 Whoever wrote this apparently thought the FLUSHING state had something to do with playing back the sound. Removing this fixed the bug where 'short' keysounds were clipped. And I guess I might as well fix a small typographical error in that comment. 2004-11-03 23:59:23 +00:00
Glenn Maynard 8d51f577de copying up DSound fixes from 3.9 2004-10-29 03:06:04 +00:00
Glenn Maynard 7f7999e098 update 2004-10-24 03:14:57 +00:00
Glenn Maynard b918e1cf52 RageSoundMixBuffer.h 2004-10-24 03:06:28 +00:00
Glenn Maynard ccaa552c24 adjust output 2004-10-06 01:18:05 +00:00
Chris Danford 6fd5183134 more "for" scope fixes 2004-09-25 05:10:10 +00:00
Glenn Maynard 6b305bba8b Oops, did this a long time ago (for a23) and forgot to commit it ... 2004-09-20 00:12:59 +00:00
Glenn Maynard cca6dcbad1 last_cursor_pos -> write_cursor_pos 2004-09-10 02:57:47 +00:00
Glenn Maynard 0e9a8755c6 ignore unreasonable prefetches 2004-09-10 02:11:24 +00:00
Glenn Maynard ecc5493c88 don't bother checking for minor underruns if we have a major underrun 2004-09-10 01:49:39 +00:00
Glenn Maynard 7c60eeb61b error check
fix spurious underrun warnings
2004-09-10 01:07:19 +00:00
Glenn Maynard 399533708e fix Windows compile 2004-09-09 17:57:45 +00:00
Steve Checkoway 44174a8fa7 Unused function. 2004-09-09 08:51:07 +00:00
Glenn Maynard 6b450d396e debug 2004-09-09 00:20:45 +00:00
Glenn Maynard 2accf47cf3 fix false "underruns" 2004-09-07 22:57:53 +00:00
Glenn Maynard f6a9b1477e Improved underrun recovery: doesn't skip arrows for minor underruns,
and can increase writeahead when needed in some cases
2004-09-07 00:33:54 +00:00
Glenn Maynard fa356decdf simplify 2004-09-06 09:53:41 +00:00
Glenn Maynard 28f0a1b736 fix volume calc; meant to change the comment but not the equation
make sure setting volume to 0 works
2004-09-05 06:05:56 +00:00
Glenn Maynard c5ec5aa56b fix SetVolume 2004-09-05 05:55:36 +00:00
Glenn Maynard 060e901c10 flip 2004-09-05 02:55:27 +00:00
Glenn Maynard eda61958f7 error check 2004-09-05 01:49:42 +00:00
Glenn Maynard 2d6e9fecd7 fix prebuffering logic 2004-08-29 01:50:17 +00:00
Glenn Maynard f4bfdbef94 fix comment
sanity checks
2004-08-27 04:53:00 +00:00
Glenn Maynard e76553c9cc fix warning output 2004-08-26 04:36:35 +00:00
Glenn Maynard 9d4ccdafbf comment 2004-08-24 22:24:06 +00:00
Steve Checkoway 60983ee8cc Fix warning. 2004-08-22 22:57:29 +00:00
Glenn Maynard fb72702e80 don't interleave reads 2004-08-21 07:19:54 +00:00
Glenn Maynard 6312cfce58 bigger fake "mixing buffer" for null sound 2004-08-21 07:06:27 +00:00
Glenn Maynard 29c1393a7d bigger buffer for streaming sounds 2004-08-21 07:05:32 +00:00
Glenn Maynard 00bf5e9639 implement decode buffer fill rate clamping 2004-08-21 06:53:26 +00:00
Glenn Maynard 9c23f35047 allocate buffer on demand 2004-08-21 06:09:19 +00:00
Glenn Maynard c6acc25ddc rearrange: public, protected, then private 2004-08-21 01:51:29 +00:00
Steve Checkoway 505b357616 Cleanup. 2004-08-19 02:58:38 +00:00
Glenn Maynard 46d0b2e2f6 cleanup; check primary buffer format 2004-08-14 19:53:15 +00:00