Commit Graph
2040 Commits
Author SHA1 Message Date
Glenn Maynard 3deabcbe2f handle WOULD_BLOCK 2006-12-22 21:30:14 +00:00
Glenn Maynard 1683b9951a RSGS::GetDataForSound also like Read 2006-12-22 21:28:16 +00:00
Glenn Maynard 24624a5c92 GetDataToPlay API more like RSR::Read 2006-12-22 21:24:19 +00:00
Glenn Maynard 1b18090e90 remove ReachedEOF 2006-12-22 21:18:29 +00:00
Glenn Maynard bfed0b6f83 always go into PLAYING 2006-12-22 21:17:34 +00:00
Glenn Maynard b97d527d02 add EventImpl::WaitTimeoutSupported 2006-12-22 10:39:55 +00:00
Glenn Maynard 435ec1818a remove EnterTimeCriticalSection/ExitTimeCriticalSection 2006-12-19 08:03:42 +00:00
Glenn Maynard f0c8b94b21 _WINDOWS -> WINDOWS 2006-12-19 01:03:44 +00:00
Glenn Maynard 1160ced051 remove LightsDriver_Null 2006-12-18 22:33:20 +00:00
Glenn Maynard b76c28c5cd registered lights drivers 2006-12-18 22:29:49 +00:00
Glenn Maynard ef9bf1835e merge/simplify 2006-12-18 22:06:23 +00:00
Glenn Maynard 276de65c4d merge more dupe code 2006-12-18 22:03:48 +00:00
Glenn Maynard d7da6c5a26 revert unintended 2006-12-18 21:36:05 +00:00
Glenn Maynard 05edb8687f remove arch.h 2006-12-17 08:14:05 +00:00
Glenn Maynard da708702ca Theora fixup 2006-12-17 08:02:19 +00:00
Glenn Maynard f2e0053c7d Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 08:00:03 +00:00
Glenn Maynard 3124b25ad0 make MovieTexture act more like other drivers: MovieTexture itself
is a factory for RageTexture objects, not a RageTexture itself.  The
actual RageTexture objects don't need to be exposed in the headers
(DShow still does it for DShow_Helpers), so we don't need to expose
the headers of the movie API to user code.  (We could also eliminate
reconstructing the factory driver each time we make a movie, but
there's no real reason to currently.)
2006-12-17 07:54:34 +00:00
Glenn Maynard 17c32b90c2 Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Glenn Maynard 50ca6633cb cleanup 2006-12-17 07:33:09 +00:00
Glenn Maynard fc6033d754 cleanup 2006-12-17 07:16:06 +00:00
Glenn Maynard a8dc57f38e merge duplicate boilerplate code 2006-12-17 07:15:25 +00:00
Glenn Maynard 2b9a167455 add RageDriver to merge duplicate boilerplate code 2006-12-17 07:06:53 +00:00
Glenn Maynard 519e61ee48 style cleanup 2006-12-17 07:04:43 +00:00
Glenn Maynard d4f43cf844 reduce boilerplate code 2006-12-17 07:00:30 +00:00
Glenn Maynard 4bd423fa10 remove monolithic arch.cpp 2006-12-17 06:49:52 +00:00
Glenn Maynard bcec908ebf split out MakeMemoryCardDriver 2006-12-17 06:49:25 +00:00
Glenn Maynard ad698b2c26 split out MakeLoadingWindow 2006-12-17 06:47:57 +00:00
Glenn Maynard c7f82f0529 split out MakeLowLevelWindow, MakeLightsDrivers 2006-12-17 06:46:02 +00:00
Glenn Maynard 5255fa036c fixup 2006-12-17 06:45:49 +00:00
Glenn Maynard 21be9b5cf1 split out MakeLightsDrivers 2006-12-17 06:45:06 +00:00
Glenn Maynard 3461ab8c4e split out MakeLowLevelWindow 2006-12-17 06:42:47 +00:00
Glenn Maynard 799f20d8d1 unreachable (we check for this outside), and we can return NULL anyway, if all drivers fail 2006-12-17 06:17:56 +00:00
Glenn Maynard fb968d435d uhh 2006-12-17 06:15:13 +00:00
Glenn Maynard e63698aa43 add LightsDriver_Export 2006-12-17 03:18:26 +00:00
Glenn Maynard 59b35c19bb simplify stream configuration 2006-12-16 22:45:44 +00:00
Glenn Maynard b700578675 remove unused param 2006-12-15 21:23:37 +00:00
Steve Checkoway 0022407a7a I think this handles repeat events correctly now. It is hard for me to test it though. 2006-12-15 05:51:22 +00:00
Glenn Maynard 622d6b433b default buffer size of 512 2006-12-14 10:57:37 +00:00
Glenn Maynard 4418f202f4 update comment 2006-12-13 22:30:35 +00:00
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