Commit Graph
24609 Commits
Author SHA1 Message Date
Steve Checkoway f3a489aa01 Removing some comments? 2007-01-27 13:30:51 +00:00
Steve Checkoway 1f67599508 Simplify. 2007-01-27 13:29:36 +00:00
Steve Checkoway a579593c52 Disable vector code for now. It needs to be updated for floats. 2007-01-27 13:24:39 +00:00
Steve Checkoway b0dcd6c57a int -> float. 2007-01-27 13:24:12 +00:00
Glenn Maynard 0191581eab remove unused GetSampleRate 2007-01-27 09:26:27 +00:00
Glenn Maynard 1258683aa4 no longer need to convert and deinterlace data 2007-01-27 08:47:43 +00:00
Glenn Maynard 052eaa9a5e don't clip or round incoming data prematurely 2007-01-27 08:34:55 +00:00
Glenn Maynard 322ebd5baa remove RageSound::GetAbsoluteVolume; use "Volume" property instead 2007-01-27 07:32:13 +00:00
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 1bd5513698 Switch to floating-point sound internally.
This allows us to change the volume of sounds in filters ("volume",
"fade" properties) without quantizing the audio prematurely.  Previously,
we had a hack to apply volume changes as a mixing-time step.  This
can be done at any point in the filter chain now.

This also means we only need to worry about clipping at the very
last mixing step, instead of at every place we change sound.

Dithering for 16-bit audio and more intelligent gain control
is possible, as we have full-resolution, unclipped sound at the
mixing phase.

We support high resolution source sounds; both Vorbis and MAD
supply more than 16 bits.

Several filters, such as resampling, are easier to implement as
floats; these no longer need to convert back and forth.

Negatives:
 - More memory use.  The main case of this is in RageSoundReader_Preload,
which will be fixed: we can preload in 16-bit without losing most of the
above.
 - Some extra overhead for accessing more memory.
2007-01-27 07:14:58 +00:00
Glenn Maynard cc8182fb7e fix --without-theora 2007-01-27 02:13:45 +00:00
Glenn Maynard bf40f3aa98 fix buffer alignment; caused static in mono sounds 2007-01-26 09:28:00 +00:00
Glenn Maynard abe62b0920 GetMD5ForString: don't hex 2007-01-26 04:35:15 +00:00
Glenn Maynard 961eae77a3 cleanup 2007-01-26 04:34:30 +00:00
Glenn Maynard 9b4a488895 BinaryToHex(string)
change BinaryToHex(p*) to void*
2007-01-26 04:34:04 +00:00
Glenn Maynard 0cdddc34ae don't require m_bSignProfileData 2007-01-26 04:23:24 +00:00
Glenn Maynard 8c6fe59973 split out CryptManager::Sign 2007-01-26 04:22:31 +00:00
Glenn Maynard a85eb727c2 partial test_file_errors fix 2007-01-26 03:00:46 +00:00
Glenn Maynard 1b813dbd25 fix size check 2007-01-26 02:56:46 +00:00
Glenn Maynard 9f806c2373 cleanup, remove old comment 2007-01-26 02:10:11 +00:00
Steve Checkoway 3b39d09843 Update for Signal handler api change. 2007-01-25 11:44:12 +00:00
Steve Checkoway eb9016eda3 Add files. 2007-01-25 11:43:30 +00:00
Chris Danford 019ec5dab0 name cleanup:
GetDescription -> GetDisplayTitle
GetValue -> GetDisplayValue
Do -> DoAndMakeSystemMessage
2007-01-25 11:19:11 +00:00
Chris Danford 12b49d0b26 remove EditButtons for autoplay and tick. They can be toggled with ScreenDebugOverlay. 2007-01-25 11:14:10 +00:00
Chris Danford 7b7817f613 remove unused AssistTickChanged message 2007-01-25 11:05:12 +00:00
Chris Danford 179f1b6480 add metronome
rename tick -> clap because "tick" implies a regular interval
2007-01-25 11:03:41 +00:00
Chris Danford 7e135b6789 add metronome 2007-01-25 11:00:09 +00:00
Glenn Maynard 693057b19f add, change failed 2007-01-25 01:46:12 +00:00
Glenn Maynard a8024014f6 remove old metrics 2007-01-25 01:40:56 +00:00
Glenn Maynard cfbf15a0a1 remove "ScreenGameplay danger all"; use the underlay
remove BlinkDangerAll, DangerAllIsOpaque
2007-01-25 01:37:45 +00:00
Chris Danford 253461000c move common PlayTicks code into GameplayAssist 2007-01-25 00:50:57 +00:00
Glenn Maynard c93f83c0ac Q258000 workaround, like crypto++ 2007-01-24 22:32:59 +00:00
Glenn Maynard 853c84c0a5 RSAKeyWrapper fixes
check keys on startup, not just existance (so if the old key format
is there, we regenerate)
2007-01-24 22:28:29 +00:00
Glenn Maynard 66a8ece036 remove "seed" parameter; it's never used usefully. Use AddEntropy()
if wanted.  Add AddRandomEntropy.
2007-01-24 22:11:44 +00:00
Glenn Maynard aa6cb99bf5 fix fn for signing 2007-01-24 22:05:37 +00:00
Glenn Maynard ef525b19c5 fix crash 2007-01-24 11:49:53 +00:00
Glenn Maynard 957d6232e1 fix warning 2007-01-24 11:43:26 +00:00
Glenn Maynard 7943380e6c remove SignalHandler::ResetSignalHandlers 2007-01-24 11:41:31 +00:00
Glenn Maynard ba32e7abba just return; SignalHandler will do this 2007-01-24 11:40:41 +00:00
Glenn Maynard 0b26020d96 fix crashes in crash handler being handled by DoCleanShutdown 2007-01-24 11:38:29 +00:00
Steve Checkoway 2f8079fae9 Remove unused files. All targets build (including no mp3 and no networking). 2007-01-24 10:27:35 +00:00
Glenn Maynard 7c4394eda7 disable exceptions 2007-01-24 09:53:48 +00:00
Glenn Maynard 7c96f57544 no, *nix builds in gcc 2007-01-24 09:44:23 +00:00
Glenn Maynard 675d991de4 remove HAVE_CRYPTOPP 2007-01-24 09:41:16 +00:00
Glenn Maynard c94a044119 fix DISABLE_CRYPTO 2007-01-24 09:39:55 +00:00
Glenn Maynard 2dcc704b0a HAVE_CRYPTOPP -> !DISABLE_CRYPTO 2007-01-24 09:38:51 +00:00
Steve Checkoway c45bad110f Add/remove files. Change options to not use common blocks. 2007-01-24 09:25:46 +00:00
Steve Checkoway 8b2c07f4be Fix compile on ppc. 2007-01-24 09:25:12 +00:00
Glenn Maynard d97acea856 use $(SolutionName) 2007-01-24 08:42:47 +00:00