Commit Graph

24011 Commits

Author SHA1 Message Date
Glenn Maynard db25cf4738 add filter differently 2006-12-10 04:44:39 +00:00
Glenn Maynard 0eaab20da5 split out LoadAutoplaySoundsInto 2006-12-10 04:42:39 +00:00
Glenn Maynard 3859d3b7bc implement GetNumChannels to simplify (if mono, send mono sound,
not stereo)
2006-12-10 04:20:22 +00:00
Glenn Maynard f97d80afdc fix iSize == 0 (Extend < 0) 2006-12-10 04:06:33 +00:00
Glenn Maynard c19f079cc6 update 2006-12-10 04:05:14 +00:00
Glenn Maynard ef519723fb fix warning 2006-12-10 04:04:50 +00:00
Glenn Maynard 173f6758c0 add RageSoundReader_ChannelSplit 2006-12-10 04:03:26 +00:00
Glenn Maynard 3c85a8e3a7 update test 2006-12-10 04:01:53 +00:00
Glenn Maynard 1da6f85125 fix text 2006-12-10 03:57:23 +00:00
Glenn Maynard 25e67dd4dc RageSoundReader::Read(buf, unsigned bytes) -> (buf, int frames);
return value in frames, not bytes
2006-12-10 03:56:36 +00:00
Glenn Maynard 7bcb489288 buffering fixes 2006-12-10 03:34:44 +00:00
Glenn Maynard e0dde38b2e don't seek sources below 0 2006-12-10 03:32:56 +00:00
Glenn Maynard 2b95cdcce9 comment 2006-12-10 01:00:17 +00:00
Glenn Maynard 8c7173f26c use RageSoundReader_Pan for panning 2006-12-10 00:43:51 +00:00
Glenn Maynard 602db9c431 bind SetProperty 2006-12-10 00:36:27 +00:00
Glenn Maynard d30d0c0e76 expose SetProperty 2006-12-09 23:54:33 +00:00
Glenn Maynard 048de864a2 cleanup 2006-12-09 23:52:10 +00:00
Glenn Maynard e141795020 SetPlayerBalance -> GetPlayerBalance 2006-12-09 23:51:08 +00:00
Glenn Maynard 204d081b09 `RageSoundReader_ChannelSplit 2006-12-09 23:36:53 +00:00
Glenn Maynard fa5a6102f4 add stride 2006-12-09 22:43:44 +00:00
Glenn Maynard 4e73095fce RageSoundReader_Pan 2006-12-09 22:42:23 +00:00
Glenn Maynard 84c5c0a865 Simplify RSR_Chain. Allow passing in sound readers directly.
If all sounds have one channel and nothing pans, keep one channel.
Use RSR_Pan.
2006-12-09 22:40:39 +00:00
Glenn Maynard 77401ed8d3 add RageSoundReader_Pan 2006-12-09 22:37:57 +00:00
Glenn Maynard 381fc45cfd fix RageSoundReader_Chain::GetNextSourceFrame 2006-12-09 22:10:17 +00:00
Glenn Maynard 18d44445e3 unindent 2006-12-09 20:01:41 +00:00
Glenn Maynard aebfd2af2e fix uninitialized 2006-12-09 20:01:13 +00:00
Glenn Maynard 130012f3b2 toc was too inaccurate for precise seeking; this was obscured by the earlier seek bug. 2006-12-09 19:55:26 +00:00
Glenn Maynard 6333bb5952 100000 is correct (ms * percent = 1000 * 100); 100 is just masking a bug somewhere else ... 2006-12-09 09:23:32 +00:00
Glenn Maynard 50bca42217 update test for SetPosition 2006-12-09 08:49:35 +00:00
Glenn Maynard ba58784e68 if not synthing, the buffer may have data used. mad->Timer is the time of the beginning of this MP3 frame; make sure the "skip data in the buffer" logic always works by putting the buffer back to the beginning of the MP3 frame 2006-12-09 08:48:28 +00:00
Glenn Maynard 1ba68d8469 fix seeking with SetPosition_hard if the position lies in the first MP3 frame 2006-12-09 08:43:59 +00:00
Glenn Maynard c82cf0be7a synth_output always clears outpos 2006-12-09 08:42:19 +00:00
Glenn Maynard d24f70800d length is in ms 2006-12-09 08:26:08 +00:00
Glenn Maynard ca67a9cb7c change SetPosition_Accurate and SetPosition_Fast to take and return frames 2006-12-09 06:35:09 +00:00
Glenn Maynard a272414497 cosmetic: remove indentation 2006-12-09 03:51:46 +00:00
Glenn Maynard f1b5f9b53b simplify 2006-12-09 03:51:32 +00:00
Glenn Maynard 81b3232453 simplify iFrames 2006-12-09 03:50:06 +00:00
Glenn Maynard 6fa2581a58 comment 2006-12-09 03:45:49 +00:00
Glenn Maynard f2ae34e517 cleanup 2006-12-09 03:44:36 +00:00
Glenn Maynard 0e72d6d08c cosmetic 2006-12-09 03:40:55 +00:00
Glenn Maynard 3583b1cf10 this reader is not limited to 2 channels 2006-12-09 02:56:30 +00:00
Chris Danford 1ddfac027f Screen:: -> ScreenWithMenuElements:: 2006-12-08 20:28:29 +00:00
Glenn Maynard a86fd32253 style 2006-12-08 03:59:54 +00:00
Vecais Dumais Laacis bb898c2a5f * add/remove missing files
* add /GR in release mode and remove debug info from release mode
2006-12-07 14:18:14 +00:00
Vecais Dumais Laacis 2b3f8759c1 dont use LUA_DL_DLL in xbox 2006-12-07 14:17:17 +00:00
Vecais Dumais Laacis 1a2e57cb91 * using SM_main instead of main
* added some dummy functions in release mode (getenv, system, _popen, _pclose) which doesnt exist in libc.lib
2006-12-07 14:16:31 +00:00
Steve Checkoway 172033715f Only one thing opens a connection, the low level window. Anything depending on it can check directly if it is open or not. A native X11 loading window would probably use it as well and we wouldn't want to close and reopen the Display. hmm. 2006-12-07 13:09:20 +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 d1d9f1762e Keep the event mask across window recreates. Close the display, I did not mean to remove that. 2006-12-07 12:54:24 +00:00