Ragnvald Maartmann-Moe IV
85992c58d3
Make more cvar names sane. _snd_mixahead is now snd_mixahead.
2001-08-04 18:18:33 +00:00
Bill Currie
0a4caac3c6
mingw compile fixes
2001-08-02 23:00:39 +00:00
Bill Currie
b455458629
exit cleanup. Sys_Error and Sys_Quit should be used whenever possible.
2001-08-02 17:16:12 +00:00
Bill Currie
2732797574
fix the undefined symbol error
2001-07-18 22:18:36 +00:00
Bill Currie
1c9e1b176f
fear the mighty const correct patch
2001-07-15 07:04:17 +00:00
Bill Currie
3ab9ecd828
add this so it doesn't get lost. needs work.
2001-07-15 03:01:34 +00:00
Bill Currie
016563e77f
found the snd_pcm_playback_pause function for 0.5
2001-07-05 20:24:41 +00:00
Bill Currie
fc09d2b00f
port Bruce Momjian's patches from newtree with a less incestuous
...
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.
WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.
How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00
Joseph Carter
11257134c0
dos is dead, really. This has never worked, and would need a full rewrite
...
from scratch before it would anyway. That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00
Bill Currie
560b475880
gcc 3.0 compile fixes
2001-06-19 22:05:13 +00:00
Bill Currie
8c13809e9c
don't process .S files when not using asm (either --disable-asmopt or non-x86
...
platforms). Done by moving the asm objects into libasm.la (yes, there's one in
each dir that needs it) so that the Makefiles don't explode.
2001-06-14 19:52:38 +00:00
Adam Olsen
9e19da13de
function name cleanup. the sound mixer stuff (snd_dma.c, snd_mix.c, etc) use the SND_ prefix now, and drivers (snd_oss.c) use SNDDMA_ as before.
2001-06-10 15:48:24 +00:00
Adam Olsen
2195a9296c
This thing was so far out of date, there's no point pretending it still exists in current cvs.
2001-06-10 15:01:07 +00:00
Adam Olsen
4486925f11
merge in the now obsolete snd_common.c
2001-06-10 14:25:19 +00:00
Bill Currie
3b2cf03b99
mingw compile fixes (vid_wgl.c isn't the right thing)
2001-06-07 16:44:22 +00:00
Bill Currie
ab9e025078
don't build cd or sound libs/plugins when not building clients
2001-06-07 03:37:05 +00:00
Adam Olsen
f7f6c460ce
change void to static void, so it compiles for me
2001-06-03 05:58:01 +00:00
Ragnvald Maartmann-Moe IV
4826c5dd0f
Change shm init to PROT_WRITE, instead of PROT_READ | PROT_WRITE.
...
This is required for mmap to succeed on my system. YMMV.
May cause a problem with incomplete shutdown.
2001-06-02 06:51:58 +00:00
Bill Currie
88d536933f
move the creation of the cd command to cd.c
2001-06-02 04:36:42 +00:00
Ragnvald Maartmann-Moe IV
85333a9f96
Convert cd audio libs to plugins. Windows untested, dos and sgi not converted yet.
2001-06-01 22:55:33 +00:00
Adam Olsen
a187032ebf
add #include "QF/cvar.h" for snd_alsa_0_5.c
2001-06-01 00:12:25 +00:00
Bill Currie
323015b11a
include/QF header cleanup. including config.h (or any file from include) is
...
a nono because headers in include/QF get installed, but include don't and thus
would break quakeforge-dev.
2001-05-31 05:33:13 +00:00
Bill Currie
6bf58ab1af
no header includes cvar.h now
2001-05-31 03:41:35 +00:00
Joseph Carter
05adfd0e53
quakefs.h -> vfs.h
...
quakeio.h -> vfile.h
More diff reduction between trunk and my VFS code. Also took the time to
put some headers in order and fix a few #include's pointed out by moving
things around a bit.
2001-05-30 04:34:06 +00:00
Joseph Carter
186d577818
s/QFile/VFile/g - makes my diffs much smaller and more manageable for the
...
VFS work.
2001-05-30 03:21:19 +00:00
Bill Currie
5514f4870e
--with-plugin-path now controls where plugins are installed, not just where
...
to look for them.
2001-05-28 19:30:32 +00:00
Ragnvald Maartmann-Moe IV
964ec6425d
whitespace and comment cleanup.
2001-05-24 17:00:08 +00:00
Ragnvald Maartmann-Moe IV
a83c3d3af5
Cleanups.
2001-05-22 20:34:03 +00:00
Bill Currie
c500fd7479
make dist fixups
2001-05-22 17:09:03 +00:00
Ragnvald Maartmann-Moe IV
e7f25dc731
whitespace
2001-05-22 12:31:43 +00:00
Bill Currie
a79ab3faf8
abandon the oss write only attempts.
2001-05-21 17:40:12 +00:00
Bill Currie
f38a233786
make snd_oss_rw affect the rest of the places it needs to
2001-05-21 01:12:07 +00:00
Ragnvald Maartmann-Moe IV
a140bd1d13
Whitespace. *grmbl*
2001-05-20 20:52:27 +00:00
Bill Currie
5432983038
ignore generated files
2001-05-19 21:46:02 +00:00
Adam Olsen
aef4cd6da7
do shm = 0 after SNDDMA_Shutdown is called
2001-05-19 08:53:08 +00:00
Bill Currie
5fb17e384b
fix the installation location of the plugins
2001-05-19 04:38:03 +00:00
Bill Currie
1e84684f27
fix the alsa plugin building
2001-05-19 02:09:59 +00:00
Adam Olsen
9cc30959e4
Sound now uses runtime plugins. Much thanks to Deek for doing all the
...
thinking :)
set fs_pluginpath to point to the right dir, and set snd_plugin to pick a sound
plugin.
Current issues:
- alsa 0.5 won't build properly, dunno why
- segfault on exit. I think I know the cause of this, and how to fix it
- alsa 0.9, gus, sgi, sun, and win32 havn't been tested
2001-05-19 00:05:35 +00:00
Adam Olsen
2e11cbb8a4
some sdl audio tweaks that made it work with artsc output
...
thought I commited these before.. (where have we heard that before?) ;)
2001-05-17 23:21:26 +00:00
Bill Currie
d16dc87dfa
fix oss' device openning mode. defaults to write only, but read/write can be
...
selected by setting snd_oss_rw (need better name?) to non-zero
2001-05-16 18:59:31 +00:00
Ragnvald Maartmann-Moe IV
b10ea42970
Update alsa support for most recent API changes. Old version temporarily left in as comments.
2001-05-08 17:16:49 +00:00
Adam Olsen
0dee26397c
Make sdl audio work. And despite claims, it's not actually bad
...
(except for esd, but that's not sdl's fault).
I havn't tested it with other hardware or different config variables,
and I've experienced the occasional hang or segfault on exit, so
feedback is very welcome. :)
2001-04-27 07:41:47 +00:00
Bill Currie
00e510b96e
--without-clients no longer builds client only libs
2001-04-18 18:04:22 +00:00
Bill Currie
527471a7de
*-wgl finally links (who knows if it works?:) and some more conceptual
...
cleanup
2001-04-17 15:55:33 +00:00
Bill Currie
c0507f5610
update for the lastest alsa pcm mmap api. not as bad as at first appearance
2001-04-14 02:30:30 +00:00
Bill Currie
475a0b0d4a
must not call snd_pcm_mmap_forward with a count of 0
...
this fixes the alsa assert at slower rates
2001-04-13 08:08:41 +00:00
Bill Currie
6b3b94bafc
sound crashing bug fixes
...
snd_dma.c, {nq,qw}/source/cl_parse.c:
change the type of snd_worldmodel from * to ** and init snd_worldmodel
with the ADDRESS of cl.worldmodel so its changes get seen by snd_dma
snd_mixa.S:
picize
2001-04-12 06:53:07 +00:00
Bill Currie
4ae2ad2949
qw-client-wgl now builds (nq-wgl next)
2001-04-11 05:10:42 +00:00
Bill Currie
fa936b1713
back out rhamph's premature commit
2001-04-11 04:17:55 +00:00
Adam Olsen
c45a4d2550
fix harmless cut&paste error
2001-04-11 03:22:52 +00:00