Commit graph

28 commits

Author SHA1 Message Date
Bill Currie
8d5b5fdf04 cleanup of channel stopping and fix cd_file's pause/resume 2007-03-27 06:15:57 +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
d67cbeae7f bring cd_file in line with the new sound api 2007-03-18 12:54:59 +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
Ragnvald Maartmann-Moe IV
6880b42182 More improvements from ashridah. 2004-02-08 02:39:44 +00:00
Bill Currie
f6cac11478 another tidy-up patch from ashridah 2004-02-07 07:50:11 +00:00
Bill Currie
85cd891d8c loop cleanup patch from ashridah 2004-02-07 07:00:25 +00:00
Bill Currie
6342a9bdd7 comment fixups 2004-02-07 06:21:57 +00:00
Bill Currie
6b2d5b6d64 implement pause properly. works for me, hopefully for others 2004-02-07 06:18:56 +00:00
Bill Currie
9038ae2be9 correct a couple function calls 2004-02-07 06:09:06 +00:00
Ragnvald Maartmann-Moe IV
e4410cd914 Grr. 2004-02-07 05:56:49 +00:00
Bill Currie
eee61d261c ashridah's cd info patch with some whitespace and string handling tweaks 2004-02-07 05:46:43 +00:00
Ragnvald Maartmann-Moe IV
7ae804b8cf Whitespace, codingstyle, clean out dead comments, redundant returns, and
generally sanitize the cd plugins.
2004-02-07 05:35:15 +00:00
Jeff Teunissen
5e3ea6c00c strip a couple of unnecessary braces 2004-02-07 04:48:36 +00:00
Jeff Teunissen
8811dd520e Misc. cleanups. 2004-02-07 04:47:38 +00:00
Jeff Teunissen
cad6fedad8 Whitespace and coding style. 2004-02-06 15:16:50 +00:00
Jeff Teunissen
950a5b34c4 Updates from ashridah. 2004-02-06 14:59:29 +00:00
Bill Currie
50f83f7701 cleanup patch from ashridah
basically, moves all the tracklist work into a single function, moves a few
functions around, cleans up a few issues with things like reset, and whatnot
2004-02-06 05:44:54 +00:00
Bill Currie
9784ba5954 Grievre's gamedir callback patch to fix mangled sounds on gamedir change
plus a couple minor tweaks I notcied needed doing.
2004-02-03 03:01:06 +00:00
Timothy C. McGrath
53f8424912 Patch from Grievre to fix cd_file so it does not cause the game to segmentation
fault when snd_output is set to null. Also some debugging stuff added just in
case.

This was tested only with making sure that it works when snd_output is null and
non null. Whoever authored this might want to go test this and make sure it
still works :)

Timothy C. McGrath
(Hikaru)
2004-01-28 10:07:31 +00:00
Bill Currie
e379238126 used the function I'd created for loading sounds :P (fixes cd_file plugin
loading)
2004-01-21 19:35:17 +00:00
Bill Currie
62c3d7cefb oops, uninitialized variable 2004-01-21 03:16:16 +00:00
Bill Currie
93b01bdf25 make some prints developer 2004-01-21 02:59:09 +00:00
Bill Currie
d5a33c9545 extend the sound api slightly to ease things like cd_file and make cd_file
work as intended :)
2004-01-21 02:52:12 +00:00
Bill Currie
9aa9d4e3dc whitespace 2004-01-20 22:20:38 +00:00
Bill Currie
1583961b36 fix a couple of compile issues with older gcc 2004-01-20 08:47:19 +00:00
Bill Currie
f7fe0a4a8c remove two redundant functions from cd_funcs_t and convert all the cd
plugins to using pre-initialized structs
2004-01-20 08:34:57 +00:00
Bill Currie
52968be46d ashridah's file based cd plugin (ie, it will play any sound file QF can
load as background music).
2004-01-20 06:58:42 +00:00