Commit Graph
2073 Commits
Author SHA1 Message Date
Glenn Maynard f8c19d688d clarify 2007-01-18 09:28:05 +00:00
Glenn Maynard 0c2a32144c remove unused RageSoundDriver_Generic_Software.h 2007-01-18 09:23:55 +00:00
Glenn Maynard 5486753c90 RageSoundDriver 2007-01-18 09:20:56 +00:00
Glenn Maynard d6efbc455c This isn't safe; RageSoundDriver::StopMixing skips to HALTING. The decoder thread shouldn't hold the lock long anymore, since reading data should be nonblocking (readers at this point are either preloaded, or have a threaded buffer). 2007-01-18 07:32:41 +00:00
Steve Checkoway 7a6eabd616 RageSoundDriver. 2007-01-02 23:23:30 +00:00
Steve Checkoway ea988bab1c Remove old, buggy driver. 2006-12-30 04:31:55 +00:00
Steve Checkoway bdda436ce7 Remove old buggy driver. 2006-12-30 04:31:06 +00:00
Steve Checkoway 941c11b55e Windows can't handle standard format specifiers... 2006-12-30 04:27:36 +00:00
Steve Checkoway c7baf0f7bd Initialize to zero. 2006-12-30 04:23:24 +00:00
Steve Checkoway 45659961ce Casting to ints produces incorrect results when the number is larger than 2^32. 2006-12-30 04:16:21 +00:00
Glenn Maynard 0c711f840a revert unintended 2006-12-28 00:06:21 +00:00
Glenn Maynard e1cd655ab9 fix EventImpl_Win32::Signal race condition (looks like Broadcast now) 2006-12-27 09:28:13 +00:00
Glenn Maynard 41f8e2975e update ButtonPressed 2006-12-26 23:12:36 +00:00
Glenn Maynard 4b937130c9 remove Down 2006-12-26 23:11:10 +00:00
Glenn Maynard 9bfd0833b4 set level, not down param 2006-12-26 22:54:18 +00:00
Glenn Maynard 9f5101783d set level, not down param 2006-12-26 22:45:00 +00:00
Glenn Maynard e5ad264bbf phase out down param 2006-12-26 22:42:54 +00:00
Glenn Maynard 01d9e04916 no down param 2006-12-26 22:42:04 +00:00
Glenn Maynard 70b6a1ccd9 asserts 2006-12-24 09:53:59 +00:00
Glenn Maynard bc097b6b03 clamp hardware frames in RageSoundDriver, instead of in each sound 2006-12-23 10:53:39 +00:00
Glenn Maynard 98a3d5f856 more consistent code path: call SoundIsFinishedPlaying when the driver stops mixing, even if it's due to RageSoundDriver::StopMixing 2006-12-23 10:32:37 +00:00
Glenn Maynard cc55d56948 remove unused m_iSoundID 2006-12-23 09:51:50 +00:00
Glenn Maynard fe05072aa8 handle position queuing within RageSoundDriver; this eliminates
an awkward dependency on RageSoundManager
2006-12-23 09:45:15 +00:00
Glenn Maynard a77a9ce6e5 more private 2006-12-23 09:39:50 +00:00
Glenn Maynard 3faec793db stop on any error 2006-12-23 03:47:38 +00:00
Glenn Maynard 6531fb0013 transition: move RageSound_Generic_Software logic into RageSoundDriver 2006-12-22 22:43:24 +00:00
Glenn Maynard bafea3b7ab GetPosition() -> GetHardwareFrame; handle timing retry in the driver,
so the logic is available to the driver
2006-12-22 22:22:01 +00:00
Glenn Maynard 4dd1f97875 remove unused 2006-12-22 21:56:02 +00:00
Glenn Maynard ae6fd617ab restore comment 2006-12-22 21:51:51 +00:00
Glenn Maynard 25d63192f5 simplify 2006-12-22 21:50:58 +00:00
Glenn Maynard 2c811073d6 remove comment 2006-12-22 21:49:53 +00:00
Glenn Maynard 9a29ffb77d remove min_fill_frames, min_streaming_buffer_size; handled by ThreadedBuffer 2006-12-22 21:49:05 +00:00
Glenn Maynard b1dd8f2084 comment 2006-12-22 21:31:24 +00:00
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