Commit Graph
390 Commits
Author SHA1 Message Date
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
Glenn Maynard 70a2d889a4 output cleanup 2004-08-14 19:51:04 +00:00
Glenn Maynard aa726c9d2c fix prebuffering 2004-08-14 02:39:35 +00:00
Steve Checkoway 1f37478b69 Cleanup a bit. Fix a bug. Attempt to get it to return accurate timings by converting samples to the clock's timebase (appears to be microseconds) rather than converting time to samples. No real luck though. 2004-08-06 05:42:58 +00:00
Glenn Maynard 512d5d1b3f get rid of frames_read and frames_written; this should get rid of a small
class of possible internal desyncs, and save a little memory (~100k)
2004-07-24 05:23:47 +00:00
Glenn Maynard 6fe94c6206 cleanup, fix warnings 2004-07-17 21:27:29 +00:00
Glenn Maynard 8a3fb77328 allow specifying ALSA device to use 2004-07-17 21:22:36 +00:00
Steve Checkoway f33e9db593 Simplify 2004-07-16 09:25:43 +00:00
Steve Checkoway e1163df683 Fix off by one crash. I meant to commit this days ago. 2004-07-09 00:49:26 +00:00
Steve Checkoway d674f57968 Fix Canonical conversion. 2004-07-02 08:26:02 +00:00
Steve Checkoway 4b52a182e1 == not =, shouldn't gcc warn about that without extra ()? Also, my conversion codes doesn't quite work as I had expected, force format to Other for now. 2004-07-02 07:16:36 +00:00
Steve Checkoway 72b4599cd3 Remove CHECKPOINT, a disproportionate amount of time is spent in there. 2004-07-02 07:10:39 +00:00
Steve Checkoway be30fd0236 Cleanup 2004-06-25 23:00:01 +00:00
Steve Checkoway 8b98d83a50 Attempt to make the callback faster when the proc format is either exactly what SM wants (unlikely from what I've read) or the canonical format (according to apple). 2004-06-24 22:04:55 +00:00
Glenn Maynard b084adf625 don't spam the log with lots of 1- and 2-call underruns 2004-06-21 20:08:02 +00:00
Glenn Maynard af7df3315f g_iNumMixCallsForLastIOProc is almost always 1 2004-06-21 02:44:14 +00:00
Chris Danford 6bd2a34271 Xbox builds again 2004-06-20 01:35:25 +00:00
Glenn Maynard 416e15e256 don't need SDL for hats 2004-06-16 21:06:59 +00:00
Steve Checkoway a613d4d9fa s/RAGE_ASSERT/ASSERT/ 2004-06-16 00:38:31 +00:00
Steve Checkoway e83ddf44bd Remove Apple defined types. 2004-06-12 09:33:50 +00:00
Glenn Maynard 4ab9934008 reverse output order 2004-06-07 02:05:15 +00:00
Glenn Maynard b5e625db3d fix crash 2004-06-07 01:59:06 +00:00