Bill Currie
|
44aaec4f22
|
make the cache/stream setup code common.
|
2007-03-18 01:44:46 +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
|
3fb03fc2be
|
hah, should have been using __attribute__((used)) all that time (rather
than __attribute__((unused))). fixes the missing console in -x11
|
2005-08-04 15:27:09 +00:00 |
|
Bill Currie
|
501180aaac
|
gcc-4.0 fixes. even found some bugs :) (names /not/ mangled this time)
|
2005-06-08 06:35:48 +00:00 |
|
Bill Currie
|
4a73d5dc45
|
this seems to fix the "end of file" issues on streams
|
2003-04-26 04:30:07 +00:00 |
|
Bill Currie
|
7d06343b2f
|
make the opened sfx name usable
|
2003-04-21 18:09:53 +00:00 |
|
Bill Currie
|
eac5b83ea5
|
remove some debug info
|
2003-04-21 01:44:55 +00:00 |
|
Bill Currie
|
194c9aa097
|
fix the file handle leak
|
2003-04-21 01:39:07 +00:00 |
|
Bill Currie
|
714bd341fc
|
'copy' streams on openning. fixes the shared stream issues, though other
problems might arrise (eg, running out of file handles or memory)
|
2003-04-20 07:19:51 +00:00 |
|
Bill Currie
|
52f41f8095
|
make streams work in chunks of 256 samples (won't work so well for non power
of 2 resample rates :/)
|
2003-04-20 03:42:19 +00:00 |
|
Bill Currie
|
49571b257d
|
crystal clear playback on resampled streams :) (still borked when shared,
though :/)
|
2003-04-17 17:43:21 +00:00 |
|
Bill Currie
|
da44c783fb
|
get the new sound system mostly working. just getting a bogus read count
in the stream reader at the moment, otherwise it's working wonderfully :)
|
2003-04-15 02:34:17 +00:00 |
|
Bill Currie
|
dfff6bcdb7
|
duplicate the vorbis file info when creating a stream
|
2003-04-14 16:28:20 +00:00 |
|
Bill Currie
|
9fda72c119
|
streamed sounds /almost/ work. sound like crap but no crashes
|
2003-04-14 15:47:08 +00:00 |
|
Bill Currie
|
aab4dcf931
|
getting there with streams. just need to get the painters working, I think.
(streaming currently disabled for anything < 30s :)
|
2003-04-14 06:11:53 +00:00 |
|
Bill Currie
|
38ef81ca78
|
set the buffer length as early as possible for cached sounds
|
2003-04-14 01:40:40 +00:00 |
|
Bill Currie
|
1b2d7b79a6
|
streams getting closer, not working yet, though
|
2003-04-13 06:46:24 +00:00 |
|
Bill Currie
|
b7ff08fba4
|
effectively disable streamed oggs for now
|
2003-04-11 23:50:45 +00:00 |
|
Bill Currie
|
e3f8c833ad
|
getting closer. wav's successfully load, but playback is always looped (?).
oggs hang
|
2003-04-11 21:14:38 +00:00 |
|
Bill Currie
|
948c97a6a4
|
cached wav files almost work (seems cached ogg are borked now :/)
|
2003-04-11 18:59:14 +00:00 |
|
Bill Currie
|
725f1d0595
|
don't compile any vorbis code if it's unavailable
|
2003-04-11 14:38:31 +00:00 |
|
Bill Currie
|
12724f5fa7
|
cached oggs work
|
2003-04-11 02:58:24 +00:00 |
|
Bill Currie
|
ccb56eea39
|
half way though the sfx loader re-write. nothing works :)
|
2003-04-11 01:17:48 +00:00 |
|
Bill Currie
|
963fa8ef98
|
fix non-vorbis compile
|
2003-02-02 04:54:40 +00:00 |
|
Bill Currie
|
05fb5f9fb2
|
partial cleanup. more to come later :)
|
2003-01-31 20:51:04 +00:00 |
|
Bill Currie
|
761a7546dd
|
re-arrange things so __attribute__ and __builtin_expect are properly
autoconfiscated so rcsid will continue to work with gcc 3.3
|
2003-01-15 15:31:36 +00:00 |
|
Bill Currie
|
eeb4e4f9a9
|
how that got past my compile tests is beyond me
|
2002-11-06 14:56:39 +00:00 |
|
Bill Currie
|
ca4b3acd6c
|
big protototype cleanup. Now, except for a few cases, all non-static
prototypes are in headers files.
|
2002-11-05 19:12:51 +00:00 |
|
Bill Currie
|
5b9d4fb241
|
close the file if vorbis doesn't like it
|
2002-09-26 19:37:01 +00:00 |
|
Bill Currie
|
be8df8bdaa
|
fix a nasty bug with looped vorbis sound effects. samples with loop lengths
smaller than their unlooped sections were causing qf to hang.
|
2002-08-27 19:44:13 +00:00 |
|
Bill Currie
|
ec47e08e1c
|
go back to using QFile, quakeio.h and quakefs.h
|
2002-08-27 07:16:28 +00:00 |
|
Bill Currie
|
5fd916a0da
|
looped oggs now work so long as they have a CUEPOINT= comment
|
2002-07-29 22:25:32 +00:00 |
|
Bill Currie
|
930ba48862
|
other than sounds that are ment to loop not looping (due to losing that info
when converting to ogg (I've got some ideas on that)), ogg/vorbis support is
working. Doesn't seem to be too much of a load-time hit.
|
2002-06-15 05:43:56 +00:00 |
|
Bill Currie
|
9f1e6f9c82
|
make the vorbis support mostly work. qf segs in Cache_TryAlloc when loading
a map, but I think that's related to some of our other sound resample bugs.
|
2002-06-14 22:55:57 +00:00 |
|
Bill Currie
|
f2f6041e05
|
at long last, vorbis support :) load time only, though, so not yet suitable
for huge samples.
Also, change the file search order so that .gz is checked before the
requested file.
|
2002-06-14 20:36:28 +00:00 |
|