Commit Graph
1966 Commits
Author SHA1 Message Date
Glenn Maynard a0abc1a89e stream frames are 64-bit 2006-11-30 06:41:41 +00:00
Steve Checkoway 73832dfafd Fix comment. 2006-11-28 12:09:51 +00:00
Glenn Maynard e96a4b7270 use a LocalizedString instead of depending on CommonMetrics 2006-11-21 23:32:39 +00:00
Glenn Maynard 722dca02be cleanup 2006-11-19 18:39:24 +00:00
Steve Checkoway 401514e397 Other arches. Untested. 2006-11-18 20:33:35 +00:00
Steve Checkoway b85a488f89 Move the sound driver out of arch.cpp. 2006-11-18 20:33:27 +00:00
Steve Checkoway 1e505ff81e copy/paste error. 2006-11-18 20:27:15 +00:00
Steve Checkoway 7d6a2a7079 fix 2006-11-18 20:07:38 +00:00
Steve Checkoway ce35f77653 simplify 2006-11-18 19:59:25 +00:00
Steve Checkoway a627776c31 Fix path. 2006-11-18 19:55:43 +00:00
Steve Checkoway 762cdd272d Simplify. 2006-11-18 19:53:39 +00:00
Steve Checkoway a25915855a Update other arches. Not tested. 2006-11-18 19:35:02 +00:00
Steve Checkoway 6365e3607f Move stuff out of arch using a registration system modeled after Screen. 2006-11-18 19:34:28 +00:00
Steve Checkoway 2b3c8034f5 Move to arch.cpp along with the other functions defined in arch.h. 2006-11-17 19:46:07 +00:00
Steve Checkoway 5cc2c5e2c4 Fix compile. 2006-11-17 19:42:11 +00:00
Jason Felds ec48a7166d Remove Selector.* 2006-11-17 19:34:08 +00:00
Steve Checkoway 79707403cd Fix paths. 2006-11-17 19:17:11 +00:00
Steve Checkoway 0d10c76e87 Unscatter arch includes. 2006-11-17 18:25:20 +00:00
Steve Checkoway 5f9ee5c5bd Set sample rate of the device, if possible. 2006-11-17 17:37:51 +00:00
Steve Checkoway 1ea6837c02 Header cleanup. 2006-11-17 17:13:39 +00:00
Steve Checkoway fbaccae793 Use the audio unit driver. 2006-11-17 17:00:11 +00:00
Steve Checkoway e988ea9945 Survive device changes, (external) sample rate changes, etc. 2006-11-17 16:59:22 +00:00
Glenn Maynard 08b79641d9 fix "view log" 2006-11-13 23:48:56 +00:00
Steve Checkoway 1f79f25240 Fix crash by stopping the audio _on_ the real time thread. This ensures that the current buffer gets played but that it never gets called again. I'm not convinced that the property listeners won't get called but I'm not sure how to handle those sanely just yet, at least in a lockless manner.
This code doesn't handle external format changes very well yet--but then, neither does the other sound driver.
2006-11-12 09:04:14 +00:00
Glenn Maynard 1e21152174 fix compile 2006-11-02 03:47:02 +00:00
Steve Checkoway 30d9410b65 Unneeded. 2006-11-01 10:45:51 +00:00
Glenn Maynard eb9ab7382c ConvertValue 2006-10-12 02:05:48 +00:00
Steve Checkoway 6fd4694b79 Simplify. 2006-10-11 11:12:09 +00:00
Steve Checkoway 8ef7317b57 Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 10:23:31 +00:00
Steve Checkoway 0600ff5a1c Invalid. 2006-10-07 09:46:11 +00:00
Glenn Maynard e130d73f88 DSERR_BUFFERLOST handling in DSoundBuf::GetPosition 2006-10-04 02:33:20 +00:00
Glenn Maynard a9cae2253d fix compile 2006-10-02 23:11:17 +00:00
Glenn Maynard e6033c3739 isolate "start" special case, and don't assert if it isn't found 2006-09-30 22:34:20 +00:00
Glenn Maynard 3b9c5f18fb GetInputScheme 2006-09-30 19:54:27 +00:00
Jason Felds 9b2c28db6a True VC8 fix (thanks again drano). 2006-09-30 09:19:33 +00:00
Glenn Maynard 3f315b0464 InputScheme 2006-09-30 08:24:05 +00:00
Glenn Maynard 1ba25d4aeb NUM_CabinetLight 2006-09-26 21:24:27 +00:00
Glenn Maynard dfd95fd730 InputDevice_Invalid 2006-09-26 21:19:17 +00:00
Steve Checkoway 9facfc2731 Dialogs can be thrown before INPUTFILTER is constructed. 2006-09-25 02:14:41 +00:00
Jason Felds d48f3ea016 VC8 Hack: pToUnicodeEx doesn't work yet. Use the old definition. 2006-09-25 01:35:33 +00:00
Glenn Maynard 95faef1776 cleanup 2006-09-21 07:41:22 +00:00
Glenn Maynard d2df988807 use ToUnicodeEx if available 2006-09-21 07:32:34 +00:00
Josh Allen a14bd30a61 include ErrorStrings.h 2006-09-19 03:08:25 +00:00
Glenn Maynard 03ce23e9ea ARRAYLEN 2006-09-18 23:27:09 +00:00
Glenn Maynard b77024f3bc include 2006-09-18 22:45:42 +00:00
Glenn Maynard 1f7fe1afd3 include 2006-09-18 22:24:18 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Glenn Maynard 6a1db3af03 remove old sdl stuff 2006-09-15 23:52:37 +00:00
Glenn Maynard 6c8d5774fc remove old SDL stuff 2006-09-15 23:48:15 +00:00
Steve Checkoway 37314eb432 While running, it's possible to lose focus and regain focus before an update has ended (for example if the main thread is block on a dialog return) such that it appears that focus was never lost. AppFocusChanged() will return true if the focus has changed since the last time it was called. 2006-09-15 23:33:43 +00:00