Commit Graph
2001 Commits
Author SHA1 Message Date
Glenn Maynard 7fecf43f1d update comment 2006-12-13 18:38:07 +00:00
Glenn Maynard 0f76adec67 GetSampleRate(int) -> GetSampleRate(); one sample rate
per driver
2006-12-13 09:13:41 +00:00
Glenn Maynard f75a281c18 GetPosition(pSound) -> GetPosition(); one hardware sound position
per driver
2006-12-13 09:10:08 +00:00
Glenn Maynard fb9639f52c remove RageSoundDriver_DSound (complicated hardware mixer) 2006-12-13 08:58:40 +00:00
Glenn Maynard fae5e9fafa remove RageSoundDriver_ALSA9 (complicated hardware mixer) 2006-12-13 08:56:56 +00:00
Steve Checkoway 06bb8c9582 Use the float interface. 2006-12-11 13:55:05 +00:00
Steve Checkoway 996385f795 All subclasses to get float data. 2006-12-11 13:54:39 +00:00
Steve Checkoway 027b94d2c1 Use descriptive names. 2006-12-07 13:00:30 +00:00
Steve Checkoway 0e38878528 We can be sure that if the low level window is going to be created, it will already have been created so we need only set the event masks here and they will be preserved across window recreations. 2006-12-07 12:56:22 +00:00
Steve Checkoway d92dcfc6f7 Delete the gl contexts when we create new ones or shut down. 2006-12-07 12:03:48 +00:00
Steve Checkoway 93be46923a Simplify. Do not use Open/CloseMask for the MapNotify events. 2006-12-07 11:51:42 +00:00
Steve Checkoway a1ae4ce45a Improve readability by removing all X11Helper::s. 2006-12-07 11:00:24 +00:00
Steve Checkoway a62c3a88b1 Update. Make sure all windows are destroyed. 2006-12-07 10:53:50 +00:00
Vecais Dumais Laacis 8f7ed8f6de fixed compile problem and made changes to initialize memory cards when initializing input devices 2006-12-07 08:45:18 +00:00
Vecais Dumais Laacis 820f71c5f6 *** empty log message *** 2006-12-07 08:43:51 +00:00
Steve Checkoway e03934c21f Do not rebuild the lookup table each time the function is called. 2006-12-07 08:17:18 +00:00
Steve Checkoway 971e34e0c7 Fix input handling code. Read key presses/releases in order. If two presses in a row come, do not send another event. Do not disable key repeats. 2006-12-07 08:15:50 +00:00
Chris Danford ad665ee28b fix compile 2006-12-07 07:54:41 +00:00
Glenn Maynard 9be22d5032 define SURROUND masks
for now, use KSAUDIO_SPEAKER_5POINT1 instead of
KSAUDIO_SPEAKER_5POINT1_SURROUND (according
to http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/SpkrConfig5.doc);
maybe try the SURROUND one as a fallback
2006-12-07 07:48:45 +00:00
Glenn Maynard c835b2b01b code style 2006-12-07 07:32:31 +00:00
Glenn Maynard f4c7193c70 RageSound_ -> RageSoundDriver_ 2006-12-07 02:16:51 +00:00
Glenn Maynard 0e8b6ed2e8 simplify; make KSPIN_CONNECT on demand 2006-12-07 02:12:03 +00:00
Vecais Dumais Laacis 0a6bc88a7c Memory card driver for xbox 2006-12-07 01:38:34 +00:00
Glenn Maynard af22cff101 simplify
fix accessing pins > 0
2006-12-06 11:57:01 +00:00
Glenn Maynard 2a9b1445dd disable hardware drivers 2006-12-06 08:33:48 +00:00
Glenn Maynard 9b0566549d add WDMKS 2006-12-06 06:35:29 +00:00
Glenn Maynard 2bd5bffc96 rename 2006-12-06 06:32:48 +00:00
Glenn Maynard 2950767217 filename and driver name are mismatched. Rename to WDMKS and
rename the file.  (I normally don't like renaming files in CVS, but this file
doesn't have history to lose.)
2006-12-06 06:30:49 +00:00
Glenn Maynard 10fa6ceb2e PREFSMAN->m_iSoundPreferredSampleRate == 0 means "do what's right for the hardware". We want a 44.1khz default for most systems, but KS should default to 48khz. 2006-12-06 06:26:24 +00:00
Glenn Maynard 650ece9cec fix weird assignment 2006-12-06 06:22:00 +00:00
Glenn Maynard 75a95323be start playing and prebuffer in the mixing thread 2006-12-06 06:19:57 +00:00
Glenn Maynard 01458632f8 simplify 2006-12-06 06:17:51 +00:00
Glenn Maynard 94b1849a29 assert for bad sample rate 2006-12-06 06:11:49 +00:00
Glenn Maynard 0e40d05762 initial WDM Kernel Streaming driver 2006-12-06 03:56:42 +00:00
Steve Checkoway 2250322d41 trylock 2006-12-01 18:17:16 +00:00
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