Bill Currie
22e8698827
resampling now works
...
However, no fallback for when libsamplerate is missing.
2010-08-11 23:47:03 +00:00
Bill Currie
1c985bc925
bah, forgot these
2010-08-11 23:46:28 +00:00
Bill Currie
3499f5257f
add a test app and a workaround for the clicking in the resamled stream
...
the proper fix for the clicking is to either use SRC's callback resampler or
fix snd_mem.c to handle not getting the samples it expects, but I think the
callback will be better in the long run.
2010-08-11 23:45:56 +00:00
Bill Currie
0e3b395943
ok, non-resampled flacs now work beautifully
2010-08-11 23:45:32 +00:00
Bill Currie
7502cd9ec5
making slow progress on sound quality
...
streamed oggs playback cleaning when not resampling, but flacs are still crap
2010-08-11 23:45:09 +00:00
Bill Currie
65a748fc3c
floating point mixer now working
...
the resampler is being badly abused for streams, and it's not yet properly
autoconfiscated, but things are working. Better yet, at the correct pitch and
speed.
2010-08-11 23:44:34 +00:00
Bill Currie
de35661d5d
hopefully correct comment
2010-08-11 23:43:54 +00:00
Bill Currie
2bb2d14b89
make "sample counts" frame based rather than mono sample based
...
that was always horribly confusing
2010-08-11 23:43:35 +00:00
Bill Currie
3b76c595be
goofed on the HAVE_MIDI test
2010-08-11 23:42:59 +00:00
Bill Currie
d0906f1453
conditionally build the sound format support files
...
Rather than using an ifdef around the entire code, get autoconf to do the work
for us. For one thing, this allows doxygen to produce decent docs. It also
makes for less compalation when building without support for various formats.
2010-08-11 23:42:42 +00:00
Bill Currie
d045045693
get the grouping right
2010-08-11 23:42:14 +00:00
Bill Currie
4c7b2bb6f0
update for recent doxygen
...
removes warnings about obsolete options, but introduces a couple of weird
include path type warnings
2010-08-11 23:41:50 +00:00
Bill Currie
f04bc64ef1
clean up a bunch of doxygen warnings
2010-08-11 23:41:30 +00:00
Bill Currie
c0a8c6c695
properly prefix all functions, static or not
...
makes doxygen produce better docs
2010-08-11 23:41:04 +00:00
Bill Currie
ac44950a69
sanitize the code by using defines for old flac libs
2010-08-11 23:40:35 +00:00
Bill Currie
3d6d731dfa
ignore vim's .swp files
2010-08-11 23:40:11 +00:00
Bill Currie
46a067b2f6
Do proper error handling when loading sound files.
...
This fixes the segfault grg got when trying to play a 5.1 channel file.
2010-08-08 03:02:55 +00:00
Bill Currie
0bbb805b94
fix a case&paste error pointed out by grg
2010-08-08 01:58:17 +00:00
Bill Currie
0dfff8fd58
ignore stuff
2010-08-07 10:42:09 +00:00
Bill Currie
4f748a0f98
Fix aclocal.m4 rebuild problems.
...
aclocal needs to always be told where the directory is, not just during
bootstrap.
2010-08-07 07:22:31 +00:00
Bill Currie
6830bd47fa
while neat, inlining the code was a bit too much
2010-08-06 03:03:17 +00:00
Bill Currie
cfb457c6ac
add detection of libsamplerate. not used yet
2010-08-06 01:58:57 +00:00
Bill Currie
adee45d22b
add a comment about the valid range of samples
2010-08-06 01:58:12 +00:00
Bill Currie
397312b54b
enable source code browsing
2010-08-06 01:13:47 +00:00
Bill Currie
98a0da742a
Prefill the sfx stream buffer to ensure the decoders have allocated any memory they might need. Problem found using jack_interposer ( http://repo.or.cz/w/jack_interposer.git ).
2010-08-06 00:41:42 +00:00
Bill Currie
dabb720fd1
be a little more honest (don't say "Playing" until we actually can)
2010-08-05 07:23:06 +00:00
Bill Currie
6e2a8f1e3d
Do not allow sounds to start when we have no connection to the jack server. This fixes the shutdown hang when the connection to the server is lost.
2010-08-05 07:20:50 +00:00
Bill Currie
e9a1e5552e
send multiple almost empty packets when a server frame is too long
2010-08-05 03:57:48 +00:00
Bill Currie
7ef81cae31
and the rest of the changes before actually working on the new parser
2010-08-05 03:39:26 +00:00
Bill Currie
9a4258b5c5
rename "map" to "map_script" in anticipation of a better map parser
2010-08-05 03:30:13 +00:00
Bill Currie
98cf61dfd6
get the boxclipping debug code in semi-permanently (conditional, of course)
2010-08-05 02:52:56 +00:00
Bill Currie
ace5e7a702
oops
2010-08-05 02:38:47 +00:00
Bill Currie
17d84613a9
found a test file lurking around
2010-08-05 02:36:51 +00:00
Bill Currie
970dd0b872
avoid the old dga headers if we can (they're now deprecated)
2010-08-05 02:35:16 +00:00
Bill Currie
96a507e8ea
Disable svga support when not building for 32-bit x86 (for now, anyway).
2010-08-05 01:58:39 +00:00
Bill Currie
3e0aaea535
more build fixes from Despair (parallel make, this time)
2010-05-28 13:37:51 +00:00
Bill Currie
c1b12ed6ec
fix a couple of gcc 4.5 issues that Despair pointed out (I don't have it yet)
2010-05-27 12:21:50 +00:00
Bill Currie
81e3a63791
check for a bad read when reading the command byte of a connectionless packet
2010-04-26 12:41:04 +00:00
Bill Currie
eb636ea16f
win32 fixes and vc2008 build files from phrosty
2010-03-12 10:51:07 +00:00
Bill Currie
51a32f4f87
minor comment about scoping in traditional mode
2010-02-22 13:44:52 +00:00
Bill Currie
fac98536f0
make sure def->space points to the space the def's location is allocated from to ensure that freeing the location works properly (fixes the bogus address triggered by prozaccoop: thanks, phrosty)
2010-02-22 13:11:41 +00:00
Bill Currie
56d01ce267
found an uncontrollable warning
2010-02-20 12:01:49 +00:00
Jeff Teunissen
6a63263c94
Fix up aclocal includes properly, using an include dir.
2010-01-25 03:47:34 +00:00
Bill Currie
7b9a682942
Make qfpreqcc a little noisier when qfcc can't be run.
2010-01-16 02:05:05 +00:00
Bill Currie
60c3b139d9
don't cause the clien to segfault while changing levels
2010-01-13 06:53:38 +00:00
Bill Currie
2822b47c3f
we don't need any evil hacks around here :)
...
It seems the cursor hack hasn't been needed for a while. Also get rid of some
crazy function redirection and bogus comments
2010-01-13 06:53:10 +00:00
Bill Currie
b49614a44f
a bit of ncurses related cleanup
...
doesn't fix the corrupted input line when the output window is busy, but that
might be a gnome-terminal bug (seems to be ok on the linux console)
2010-01-13 06:52:42 +00:00
Bill Currie
37e52bad71
map changes now work through a proxy
2010-01-13 06:52:15 +00:00
Bill Currie
3a3b55f15b
never forward certain svc types
...
svc_stufftext needs to be filtered (not yet done)
2010-01-13 06:51:39 +00:00
Bill Currie
6a8f14c701
nuke another \ in command handling
2010-01-13 06:51:13 +00:00