Commit Graph
24069 Commits
Author SHA1 Message Date
Glenn Maynard 2377925f41 remove iRate param 2006-12-13 09:15:29 +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
Glenn Maynard 873a979b06 make GetSource virtual 2006-12-13 08:47:05 +00:00
Steve Checkoway 66e3eaa3e9 Fix crash on extra stage but I'm a little concerned that this is just covering up the real bug. 2006-12-12 12:24:27 +00:00
Steve Checkoway ebbd138a76 Cleanup. 2006-12-12 12:11:24 +00:00
Steve Checkoway eab92a7ded Tune, align loops. 2006-12-12 11:45:27 +00:00
Chris Danford f968d9d215 move LifeChange from Preference to Metrics 2006-12-12 10:50:18 +00:00
Chris Danford 4ef0bc548b move LifeChange from Preference to Metrics 2006-12-12 10:31:16 +00:00
Jason Felds dd294343b4 Fix crash. 2006-12-12 05:20:59 +00:00
Glenn Maynard 893e9d9e53 units are samples, not bytes 2006-12-12 02:47:35 +00:00
Chris Danford 3e697a10b7 broadcast ScoreNone on TNS_None 2006-12-12 01:33:38 +00:00
Chris Danford f4db1eff44 metrics for bar alphas 2006-12-12 01:04:26 +00:00
Chris Danford 4db4ff256d metrics for bar alphas 2006-12-12 00:42:13 +00:00
Chris Danford ab85bc0e83 remove hard-coded loading of Board commands and make generic 2006-12-12 00:19:35 +00:00
Chris Danford d78274b515 add ComboStopped commands 2006-12-11 14:20:08 +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 e7832c9ad4 Mix using the vector unit on OS X. 2006-12-11 13:31:51 +00:00
Steve Checkoway 768c25ed1b Comment. 2006-12-11 13:31:10 +00:00
Steve Checkoway 02282d4a14 Loosen sse read restrictions. Tested. 2006-12-11 13:26:12 +00:00
Steve Checkoway 6c9632bdc6 Test misaligned reads. 2006-12-11 13:03:27 +00:00
Steve Checkoway 0c539b83ce Loosen altivec read restrictions. The src buffer still needs to be 16 byte aligned but the dest buffer only needs to be aligned for the type (2 bytes for int16_t and 4 for float). 2006-12-11 13:02:57 +00:00
Chris Danford 668158658e move Jump window and Hopo window values to be preferences 2006-12-11 12:59:32 +00:00
Chris Danford 2093deec52 play OnCommand on receptors 2006-12-11 12:28:17 +00:00
Chris Danford 64cf66a639 fix broken strum 2006-12-11 12:27:58 +00:00
Chris Danford 7eda0edd2f fix lastHopoCol not set after each Hopo
Play TNS command only on the shortest string when playing a chord
2006-12-11 12:26:42 +00:00
Steve Checkoway d5e67ae508 The data is not unaligned, it will be aligned at the boundary natural for its size or larger. (Typically at a sizeof(void*) boundary.) It is misaligned in the sense that it isn't at the 16 byte boundary we require. 2006-12-11 10:33:35 +00:00
Chris Danford 380868986f add board OnCommand, optimize board drawing 2006-12-11 06:33:51 +00:00
Chris Danford 41a5ac9b66 add missing RageSoundReader_Pan.* 2006-12-11 06:31:42 +00:00
Glenn Maynard f33bb09334 use default 2006-12-11 05:59:27 +00:00
Steve Checkoway 1adb0fcc87 Add memory alignment hacks so I can run the test on x86 linux. The sse code is portable. 2006-12-10 13:55:18 +00:00
Steve Checkoway 84dc0ea84c Simplify compilation instructions. 2006-12-10 13:24:30 +00:00
Steve Checkoway 5e87581379 No need to assert, these are only used in once place and the preconditions are checked. Remove dependence on RageUtil (and global.h). Makes this easier to test. 2006-12-10 13:24:06 +00:00
Steve Checkoway 1c2fa7eff6 Ensure that the precondition is satisfied before calling those functions. Perhaps I'll fix the code to handle misaligned addresses at some point. 2006-12-10 13:13:47 +00:00
Steve Checkoway afa3284614 Intel instructions. SSE code tested and works. 2006-12-10 13:07:27 +00:00
Steve Checkoway 835bac88dd Test other read function while I am at it. 2006-12-10 12:07:25 +00:00
Steve Checkoway 7f02063b35 Add test for vector implementation of the sound mix buffer functions. 2006-12-10 11:38:44 +00:00
Steve Checkoway c850d0d86c Remove bogus assert. As long as dest is on a 4 byte boundary and src is on a 2 byte boundary (which gcc will ensure unless you're casting into to those types), this works correct. (Retested.) 2006-12-10 11:08:17 +00:00
Steve Checkoway 1cf1734d5a Fix window bug. 2006-12-10 10:20:32 +00:00
Glenn Maynard a62b963fb8 make GetNumChannels pure virtual
not 1 or 2 anymore; RageSound only supports 1 or 2 but intermediate
filters may have more
2006-12-10 09:04:58 +00:00
Steve Checkoway 95a08d5740 Add files. 2006-12-10 09:01:43 +00:00
Glenn Maynard ef5c5e20c1 SetPosition 2006-12-10 09:01:05 +00:00
Glenn Maynard 7385c1f4c1 merge SetPosition_Accurate and SetPosition_Fast. Use a property
instead.
2006-12-10 08:59:13 +00:00
Chris Danford 77d3971fd4 virtual on overridden virtuals for clarity 2006-12-10 08:18:46 +00:00
Glenn Maynard 87cba64986 ratio fixup 2006-12-10 07:34:35 +00:00
Glenn Maynard 7d0754c2a6 update 2006-12-10 07:20:13 +00:00
Glenn Maynard ecbbe89f1a Read() update 2006-12-10 07:17:58 +00:00