Commit Graph
135 Commits
Author SHA1 Message Date
Glenn Maynard 6ea531d584 give each RageSound instance a unique ID 2004-03-18 01:31:34 +00:00
Glenn Maynard eb86c76b9f Make CircBuf are lock-free, threadsafe buffer. (We don't actually
take advantage of this yet.)
2004-03-16 03:06:10 +00:00
Glenn Maynard e04b8bb457 fix stop mode 2004-02-28 02:47:15 +00:00
Glenn Maynard 9530cff9a6 better balance 2004-02-28 02:35:18 +00:00
Glenn Maynard be03ed1c21 Pass RageSoundParams to Play() (or SetParams). This should help fix
the long-standing ambiguity of "what happens if parameters are changed
for a second copy of a sound when a first is still playing".
2004-02-28 02:09:46 +00:00
Glenn Maynard 71d1380951 make RageSoundParams available 2004-02-28 01:02:06 +00:00
Glenn Maynard e1ed217f78 store start/length in seconds instead of frames, so RageSoundParams
isn't tied to a sound
2004-02-28 00:35:29 +00:00
Glenn Maynard 0c19d92dbf fix frame vs sample names
move sound params into a private struct
2004-02-28 00:14:16 +00:00
Glenn Maynard 8b149bd832 add balance (panning) support 2004-02-27 23:26:55 +00:00
Glenn Maynard 5b5834acba remove ResolvePath calls; this is done automatically and has been a noop
for a long time
2004-02-27 05:42:44 +00:00
Glenn Maynard 6acfd7a22e remove GetOffsetFix 2004-02-20 04:16:12 +00:00
Glenn Maynard d7be0781cc don't FillBuf in the main thread 2004-01-22 23:08:25 +00:00
Glenn Maynard b28c406879 per-sample volume 2004-01-22 06:52:44 +00:00
Glenn Maynard 268b7c1e76 fix warning 2004-01-22 06:14:58 +00:00
Glenn Maynard 2a7285ea77 lock in RageSound::Update 2004-01-22 06:13:31 +00:00
Glenn Maynard 040bba5a8c 64-bit frame counts, so we don't get confused when frame counts
pass 2^31 (takes about 13 hours)
2004-01-19 22:21:02 +00:00
Glenn Maynard ce6b11a343 RageSound::CleanPosMap 2004-01-19 20:37:14 +00:00
Glenn Maynard 62227ce90d comments 2004-01-18 04:04:37 +00:00
Glenn Maynard 74e1b8e276 accurate sound position timestamps 2004-01-18 04:01:52 +00:00
Glenn Maynard 7676ccf397 split RageSound::SearchPosMap 2004-01-18 02:07:58 +00:00
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