Commit Graph
37 Commits
Author SHA1 Message Date
Glenn Maynard 201cc449bd remove m_fVolume 2007-01-27 07:29:22 +00:00
Glenn Maynard 1bf9de3543 float 2007-01-27 07:18:52 +00:00
Glenn Maynard e6db9bc2a7 RageSound_Generic_Software -> RageSoundDriver 2007-01-19 00:38:24 +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 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 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 ef9bf1835e merge/simplify 2006-12-18 22:06:23 +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 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 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 f4c7193c70 RageSound_ -> RageSoundDriver_ 2006-12-07 02:16:51 +00:00
Steve Checkoway b85a488f89 Move the sound driver out of arch.cpp. 2006-11-18 20:33:27 +00:00
Glenn Maynard 62c114b49e remove param 2006-08-21 00:20:13 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard 94abe52637 headers don't include global.h 2005-07-12 04:39:57 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard ef68b4acdd Working on clean pausing support. (This will break the ALSA and DSound hardware builds until they're updated, soon.) 2005-03-10 22:49:28 +00:00
Glenn Maynard 27bf6903ce exceptions 2004-11-30 21:36:36 +00:00
Steve Checkoway 44174a8fa7 Unused function. 2004-09-09 08:51:07 +00:00
Glenn Maynard aa73bb0444 license update 2004-05-15 20:28:17 +00:00
Glenn Maynard 0f3ed7e635 update comment 2004-04-07 04:20:32 +00:00
Glenn Maynard d29ac34a0f 64-bit frame counts 2004-01-19 22:21:36 +00:00
Glenn Maynard 92684a90db s/RageSound/RageSoundBase/
linux/mac in a moment
2004-01-15 02:59:44 +00:00
Glenn Maynard a27620a32d Handle hardware that only supports 48khz output (eg. Intel8x0, on
nForce boards).  Allow drivers to tell whether specific sample rates
are supported (instead of "all or nothing").

Warning: this will break the Windows (and possibly OS X) drivers for
a few minutes until I update them.
2004-01-03 02:35:47 +00:00
Glenn Maynard a1a17d6e64 add GetSampleRate 2003-04-23 19:30:41 +00:00
Glenn Maynard bfd2d10a15 properly abstract the volume so we don't touch prefsman in RSM
fixes crash
2003-01-19 19:55:24 +00:00
Glenn Maynard f7bf2ef2fa changed sound API 2002-12-22 08:13:33 +00:00
Glenn Maynard 3cbb03e273 add new sound code 2002-12-13 08:33:25 +00:00