Bill Currie
|
f2d7630ac1
|
better sound offsetting
|
2007-03-25 07:45:13 +00:00 |
|
Bill Currie
|
33a7c395dc
|
allow initially silent channels to be active incase they are later audible
|
2007-03-25 06:48:19 +00:00 |
|
Bill Currie
|
0a142265cc
|
ensure silent channels get freed
|
2007-03-25 06:42:14 +00:00 |
|
Bill Currie
|
6678e67f05
|
clamp the default renderer to 44100 too, and spew messages when running out of channels.
|
2007-03-25 01:02:03 +00:00 |
|
Bill Currie
|
cc6ec57772
|
fix a weird naming issue that caused uninitialized error (weird mostly because it snuck past me)
|
2007-03-24 11:46:41 +00:00 |
|
Bill Currie
|
984d42df3b
|
fix an unitialized variable (won't fix the bug, though)
|
2007-03-24 11:11:19 +00:00 |
|
Bill Currie
|
da1b11ff3b
|
I'm tired of the cache bug, but it hides nicely behind gamedir changes, so I'll just leave it for now with a FIXME
|
2007-03-24 10:42:34 +00:00 |
|
Bill Currie
|
02c41feabc
|
make gamedir change a two phase operation so things can be done both before and after the cache is flushed. (still having problems with cached sounds, though)
|
2007-03-24 10:13:10 +00:00 |
|
Bill Currie
|
54139a1742
|
don't try to release an sfx when the cache has been flushed: our held sfx gets ripped out from underneath us.
|
2007-03-24 08:37:04 +00:00 |
|
Bill Currie
|
b8c11cc7ec
|
bah, that line was needed after all. still don't know why (it shouldn't be)
|
2007-03-23 14:41:53 +00:00 |
|
Bill Currie
|
4ccb6675a6
|
fix the "Cache_Release: already released!" error
|
2007-03-23 12:33:04 +00:00 |
|
Bill Currie
|
81a57bb3fa
|
patch from phrosty for vc2005 support. includes fixes for a bunch of gcc-isms that crept in over the years.
|
2007-03-22 23:20:57 +00:00 |
|
Bill Currie
|
9d165f317f
|
fix lost channels (fixes both running out of channels and non-stop loops)
|
2007-03-22 08:27:54 +00:00 |
|
Bill Currie
|
04639c7ab8
|
remove some stuff I forgot about
|
2007-03-21 14:37:16 +00:00 |
|
Bill Currie
|
5a1c57fd87
|
better channel selection: don't bother. having problems with looped sounds that can't be stopped and getting the wrong sfx at times.
|
2007-03-21 12:56:43 +00:00 |
|
Bill Currie
|
62df1f2c31
|
fix some missing symbols
|
2007-03-21 12:50:41 +00:00 |
|
Bill Currie
|
f0a4c4ace5
|
remove a bogus "done" and use 1 instead of 2 (holdover from a previous itteration of the code)
|
2007-03-21 11:41:34 +00:00 |
|
Bill Currie
|
7252ef1e54
|
allow the mixer to run even when sound blocked. prevents sounds piling up
|
2007-03-21 11:39:01 +00:00 |
|
Bill Currie
|
03e5ae136e
|
print noisy reminder to fix resampler
|
2007-03-20 13:37:38 +00:00 |
|
Bill Currie
|
988898ca4a
|
fix segfault when setting ambient_level to 0
|
2007-03-20 13:29:10 +00:00 |
|
Bill Currie
|
e52940a3db
|
add snd_force_unblock as an attempt to work around stuck sound on focus changes
|
2007-03-19 22:20:13 +00:00 |
|
Bill Currie
|
48e7b65f51
|
don't seg on shutdown when jackd wasn't there
|
2007-03-18 22:09:51 +00:00 |
|
Bill Currie
|
0f1cd876b2
|
cleaner sfx handling in dynamic sounds
|
2007-03-18 13:29:58 +00:00 |
|
Bill Currie
|
d9b7ccd5e3
|
seems to fix going from start to e1m1 in nq
|
2007-03-18 13:07:20 +00:00 |
|
Bill Currie
|
d67cbeae7f
|
bring cd_file in line with the new sound api
|
2007-03-18 12:54:59 +00:00 |
|
Bill Currie
|
9baefa94bb
|
write 0s to the buffer when sound is blocked
|
2007-03-18 11:58:54 +00:00 |
|
Bill Currie
|
bbdca8428a
|
channel leak plugged
|
2007-03-18 11:20:47 +00:00 |
|
Bill Currie
|
1315d4178f
|
found the missing retain
|
2007-03-18 10:45:29 +00:00 |
|
Bill Currie
|
5a0e2460a3
|
whee, lockless channel management. still have a problem with unbalanced retain/release, though.
|
2007-03-18 10:32:01 +00:00 |
|
Bill Currie
|
7043dd14f9
|
forgot to do midi's stream_open
|
2007-03-18 01:51:37 +00:00 |
|
Bill Currie
|
44aaec4f22
|
make the cache/stream setup code common.
|
2007-03-18 01:44:46 +00:00 |
|
Bill Currie
|
8205ac4544
|
this should fix the asla seg
|
2007-03-18 01:15:57 +00:00 |
|
Bill Currie
|
3a6ab1ae38
|
enable blocking control (doesn't fix the thread problems, though)
|
2007-03-17 09:33:21 +00:00 |
|
Bill Currie
|
ee12f44ff6
|
d'oh. anyway, with midi, sounds great (so long as jackd isn't suffering xruns)
|
2007-03-17 07:28:32 +00:00 |
|
Bill Currie
|
b4cb4afdb0
|
oops, didn't have wildmidi installed, so this bitrotted a bit
|
2007-03-17 07:18:01 +00:00 |
|
Bill Currie
|
916a698ac5
|
it makes noise, but dies due to caching bugs
|
2007-03-17 07:05:24 +00:00 |
|
Bill Currie
|
9691afb782
|
connects to jack server and auto-wires the ports
|
2007-03-17 06:20:52 +00:00 |
|
Bill Currie
|
973cf9acce
|
forgot to add these
|
2007-03-17 03:14:41 +00:00 |
|
Bill Currie
|
cde6e60848
|
most of the hacking needed to break out the common code from snd_dma.c
|
2007-03-17 03:10:45 +00:00 |
|
Bill Currie
|
0105754f6f
|
clean out some no-op functions
|
2007-03-10 14:17:52 +00:00 |
|
Bill Currie
|
99c0954b47
|
the big dso visibility patch :). Sure, we have to have unique names for static builds, but with controlled visibitly we should get faster program loads (although this isn't C++, so it's not as bad) and complex plugins are cleaner.
|
2007-03-10 12:00:59 +00:00 |
|
Bill Currie
|
58523becc7
|
oops
|
2007-03-10 07:30:12 +00:00 |
|
Bill Currie
|
17875bee39
|
move the handling of -nosound out of the plugin so it can control loading of the plugin
|
2007-03-10 07:22:32 +00:00 |
|
Bill Currie
|
d8f6d8a5fb
|
split out the resample code from the memory code
|
2007-03-10 06:38:24 +00:00 |
|
Bill Currie
|
81a5a90450
|
all static data now
|
2007-03-10 06:31:50 +00:00 |
|
Bill Currie
|
b0543b9ca2
|
asm's been ditched for sound...
|
2007-03-10 06:17:09 +00:00 |
|
Bill Currie
|
d4719db021
|
a bunch of docs for snd_render.h and a some cleanup of namepace and old cruft
|
2007-03-10 04:21:32 +00:00 |
|
Bill Currie
|
99e05d2188
|
warning cleanup patch from raorn
|
2007-01-06 21:31:03 +00:00 |
|
Bill Currie
|
a2b2261913
|
this should fix a couple warnings found by raorn
|
2006-09-11 22:56:16 +00:00 |
|
Bill Currie
|
87cc09233c
|
"long" audit. can't use long when we want 32 bits. May be a few more cases.
|
2005-10-23 13:19:21 +00:00 |
|