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
Glenn Maynard
a1f8acd915
simplify a little
2003-03-15 21:02:45 +00:00
Chris Danford
ad34d417f6
Get rid of some global strings to (shrinks release exe size by 3.5MB)
2003-03-15 19:25:37 +00:00
Chris Danford
28af4a9447
Fixed seeking in RageSound at non-1x playback rates
2003-03-13 08:43:04 +00:00
Glenn Maynard
7a4934980a
Fix SetPositionSamples() when we have a rate. This should fix
...
the editor problems.
There's a major restriction of rate changing: you can't change the
rate while the song is playing. That's because RageSound keeps
track of the number of samples actually *output to the sound driver*;
it determines the position within the sound by dividing by the rate.
(It might be possible to adjust position dynamically within SetPlaybackRate
to make this work, but this isn't done right now.)
2003-03-05 02:31:22 +00:00
Glenn Maynard
7a1f903c95
give a little more info
2003-02-21 22:06:25 +00:00
Glenn Maynard
42cfd6f98c
stdafx -> global
2003-02-16 04:01:45 +00:00
Glenn Maynard
76e1f7b8ba
add separately controllable fade
2003-02-10 21:43:50 +00:00
Glenn Maynard
a88f7688b7
fix jump when backing out of music
2003-01-25 09:01:42 +00:00
Glenn Maynard
aa90ddfccd
don't precache sounds by default
...
(makes loads faster and doesn't really matter for most things)
2003-01-21 02:44:35 +00:00
Glenn Maynard
607a1b6320
fix up error reporting; move some stray sdl_sound stuff out of RageSound
2003-01-16 01:04:54 +00:00
Glenn Maynard
ce80a52c69
more robust fix
2003-01-12 04:19:45 +00:00
Glenn Maynard
6acdb4d89a
/usr/bin/brown paper bag
2003-01-12 03:50:24 +00:00
Glenn Maynard
7340162a0a
fix sound thread chewing CPU due to very small loops
2003-01-12 03:45:49 +00:00
Glenn Maynard
89a3690d59
fix
2003-01-08 00:43:40 +00:00
Glenn Maynard
2c95666ee2
add error check
2003-01-06 10:52:53 +00:00
Glenn Maynard
f6ef28fac5
drop LoadAndPlayIfNotAlready
2003-01-03 02:52:00 +00:00
Glenn Maynard
be2f4df8d5
add debug
2003-01-02 23:01:35 +00:00
Glenn Maynard
0effca1367
implement rate changing (more) correctly
2003-01-02 06:52:39 +00:00
Glenn Maynard
51c945c8c8
(this rate code isn't yet working)
2002-12-31 01:26:42 +00:00
Glenn Maynard
e525a266df
fixups and some not-yet-working rate code
2002-12-27 23:15:39 +00:00
Glenn Maynard
5c140d053e
don't allow Load() on copies
2002-12-22 08:28:21 +00:00
Glenn Maynard
f7bf2ef2fa
changed sound API
2002-12-22 08:13:33 +00:00
Glenn Maynard
502256e91e
s/throw RageException/RageException::Throw/
...
hush that loud warning
2002-12-21 18:38:29 +00:00
Glenn Maynard
47a4d5921e
use lock macro
...
optimization
2002-12-21 05:14:54 +00:00
Glenn Maynard
5f5db5d2ef
use a deque for the pos_map; make it more dynamic
2002-12-21 02:08:49 +00:00
Glenn Maynard
576d2ba4aa
cleanup, fix
2002-12-20 02:32:23 +00:00
Glenn Maynard
878ebe7aae
measure start and length in samples
2002-12-20 02:00:43 +00:00
Glenn Maynard
13fee58c65
better length handling
2002-12-20 01:45:41 +00:00
Glenn Maynard
ead9944ac6
update
2002-12-19 04:08:38 +00:00
Glenn Maynard
8826f57b39
fix locking
2002-12-19 01:30:19 +00:00
Glenn Maynard
21ff1a044e
fix up sound firing
2002-12-18 07:48:54 +00:00
Glenn Maynard
06853d3663
fixes, etc.
2002-12-18 06:44:56 +00:00
Glenn Maynard
66de45e43a
fixes
2002-12-14 00:22:18 +00:00
Glenn Maynard
2de143f14e
add new sound code
2002-12-13 07:44:34 +00:00
Glenn Maynard
600371a871
RageSound -> RageSoundBass
2002-12-10 08:19:18 +00:00
Glenn Maynard
c1ad9a4159
(tired of seeing these files show up as modified in wincvs)
2002-11-16 07:36:47 +00:00
Chris Danford
628dea9da7
OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken.
2002-11-11 04:53:31 +00:00
Glenn Maynard
7e9905995d
some more s/GetSize/size/ and other minor STLisms
2002-10-31 03:16:02 +00:00
Glenn Maynard
5789e0800f
Add #ifdef blocks and stubs to disable sound, for VTune. Hopefully these
...
can go away when we drop bass ...
Constness.
2002-10-13 17:30:48 +00:00
Glenn Maynard
36034dd5e1
GAAAH.
...
undo commit caused by annoying windows CVS client.
2002-09-15 03:13:21 +00:00
Glenn Maynard
ba7efdb319
fix DWIPath loading for songs that have a normal layout;
...
some DWI's have relative paths that don't begin with ".\
Song.cpp
2002-09-15 02:58:33 +00:00
Glenn Maynard
f8916ab31d
Do away with LPCTSTR. (We're not making a Unicode build, and if
...
we were it's not being used everywhere it would need to be. If we want
Unicode support, that's probably not the way to do it anyway ...)
2002-08-28 07:04:52 +00:00
Chris Danford
4ec08edf2d
Mini-rewrite of input mapping, theme support, and added KSF reader.
2002-07-31 19:40:40 +00:00
Chris Danford
f9046674fb
re-wrote score/statistics tracking
2002-07-28 20:28:37 +00:00
Chris Danford
936fabbe85
more fixes to Oni and courses
2002-07-27 19:29:51 +00:00