Commit Graph
165 Commits
Author SHA1 Message Date
Glenn Maynard 3633d424d7 s/RageDriverSound/RageSoundBase/ 2004-01-15 02:31:09 +00:00
Glenn Maynard bdafe9ebe1 expose a simpler interface for drivers 2004-01-15 02:28:58 +00:00
Glenn Maynard 829a7d133d lock cleanups 2004-01-15 01:17:47 +00:00
Glenn Maynard cad991074a split out, clean up and template CircBuf 2004-01-14 09:38:14 +00:00
Glenn Maynard bbbb76d551 RageSound handles SOUNDMAN->playing_sounds itself 2004-01-14 08:00:51 +00:00
Glenn Maynard 74352440c9 really fix warning 2004-01-12 22:17:43 +00:00
Glenn Maynard 29093a5308 fix warning 2004-01-12 22:13:36 +00:00
Glenn Maynard d7cae17107 debug 2004-01-12 01:02:18 +00:00
Glenn Maynard 2c0522ef88 debug 2004-01-11 09:58:55 +00:00
Glenn Maynard fd6c729f51 add StartTime, GetPositionSeconds(*approximate) 2004-01-10 10:41:29 +00:00
Glenn Maynard 2a7e2a7313 cleanup 2004-01-03 03:00:13 +00:00
Glenn Maynard 5228f9df9c sample rate update 2004-01-03 02:36:14 +00:00
Glenn Maynard 6ef9a21037 obscure boundry case timing tweaks 2003-12-18 10:28:20 +00:00
Glenn Maynard fdd8b4f955 Seamless underrun recovery (at least with ALSA). 2003-10-28 07:10:50 +00:00
Glenn Maynard efb6f4dcb1 Don't pretend the sound position is 0 when seeking past end of file. 2003-10-07 04:10:34 +00:00
Glenn Maynard b532617434 simplify 2003-10-03 09:00:02 +00:00
Glenn Maynard eb46c45567 Minor sync fix when using playback rates. 2003-10-03 08:48:34 +00:00
Glenn Maynard ea52eac8b4 noisy 2003-10-02 09:19:40 +00:00
Glenn Maynard 036fd2beb9 Fix: don't chop off the first 26ms of each MP3 (but don't change sync,
either).
2003-10-02 04:56:09 +00:00
Glenn Maynard eaa2fe11df use m_iSoundResampleQuality 2003-09-25 01:48:09 +00:00
Glenn Maynard 02d35818aa use RageSoundReader_Resample::MakeResampler 2003-09-24 22:33:00 +00:00
Glenn Maynard adafc1114f maybe fix case issues 2003-09-23 00:07:11 +00:00
Glenn Maynard 7981cb59d3 update 2003-09-13 06:08:51 +00:00
Glenn Maynard 984c6d4b7c SoundReader::OpenFile 2003-09-10 21:33:46 +00:00
Glenn Maynard 40d4f18c55 resolve sound paths 2003-09-03 00:20:35 +00:00
Glenn Maynard d363ddd885 cleanup, comment 2003-08-20 18:15:49 +00:00
Glenn Maynard d27eb82dc4 Fix error handling crashes. 2003-08-12 18:29:35 +00:00
Chris Danford 426930692a fix song rate choosing 2003-08-07 06:08:29 +00:00
Steve Checkoway 70ef61d74b Removed the last of the integer comparison warnings 2003-08-01 22:12:28 +00:00
Glenn Maynard a44b6d0a86 remove unneeded header 2003-07-12 20:42:08 +00:00
Chris Danford c67d78d948 let Actor subclasses have first crack at parsing commands
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
2003-07-07 01:29:18 +00:00
Chris Danford e68bd0a3e6 add "loop" file name hint for sounds 2003-07-05 22:02:42 +00:00
Glenn Maynard 53f99f47bc add OGG_ONLY 2003-06-22 02:14:29 +00:00
Glenn Maynard 3070e317c7 use RageSoundReader_FileReader.h 2003-06-22 02:08:03 +00:00
Chris Danford a5f09f296c new battle layout 2003-05-13 13:35:32 +00:00
Glenn Maynard fe33dec385 Partial s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:01:35 +00:00
Glenn Maynard 8b8b0bd66a handle driver-specified sample rates 2003-04-24 23:51:05 +00:00
Glenn Maynard aad7ce38cf use the sample rate 2003-04-23 19:49:23 +00:00
Glenn Maynard 111eeef550 use RageSoundReader_Resample
(almost not tied to 44100 ...)
2003-04-23 19:11:59 +00:00
Glenn Maynard a5e6cd2787 Simplify.
Remove preloading; it's not useful.
2003-04-23 18:33:59 +00:00
Glenn Maynard 30aa2a6822 Simplify: move vars out of a struct that's no longer used 2003-04-23 18:22:16 +00:00
Glenn Maynard 6199255010 fix rounding error causing .9 to actually play at .8 2003-04-21 07:22:18 +00:00
Glenn Maynard e2f1e6bda9 cleanup
use function-style or C-style casts, not static_cast; they're identical
and easier to read
2003-04-20 22:08:32 +00:00
Steve Checkoway 86fce28601 fixed conversion warnings 2003-04-20 12:53:38 +00:00
Glenn Maynard ca48082f50 comment 2003-04-12 16:09:07 +00:00
Glenn Maynard 26cc236bca rewind the sound if preload fails 2003-03-31 22:20:11 +00:00
Glenn Maynard 0ae6236f7c Add an option to force preloading. This only preloads sounds
that are loaded in advance, which excludes sample music
and some announcers.

Disable "sound volume".  That's not what that variable is for; setting
it to higher values will result in clipping on a lot of hardware, causing
people to report it as a "bug" (which it's not).  Setting it to lower values
results in lower quality sound.  To do this correctly, we'd need to add
an interface for accessing the real hardware mixer volume, which I
don't really want to do right now ...
2003-03-31 21:21:23 +00:00
Glenn Maynard bbf8067551 remove prebuffering from RageSound; let Preload handle it 2003-03-15 23:55:24 +00:00
Glenn Maynard 187aee0a05 use RageSoundReader_Preload 2003-03-15 23:34:45 +00:00
Glenn Maynard 55bbb642f3 don't downcast here (do it later) 2003-03-15 21:16:38 +00:00