Commit graph

14 commits

Author SHA1 Message Date
Bill Currie
f3e7e4d1bc fix device openning mode. defaults to write only, but read/write can be
selected using -sndrw
2001-05-16 18:57:54 +00:00
Bill Currie
435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Bill Currie
ccba39666b #include audit 2000-12-30 02:16:36 +00:00
Jeff Teunissen
579434b6df Add 22050 to the list of sound rates to attempt 2000-12-28 06:54:16 +00:00
Jeff Teunissen
5023108000 remove "Error: " from no-mmap message 2000-12-11 09:46:58 +00:00
Ragnvald Maartmann-Moe IV
6569283738 Undo the horrible mistake of paying attention to 4Front's documentation. 2000-12-10 10:56:49 +00:00
Ragnvald Maartmann-Moe IV
c2a69bfec3 Fixed /dev/dsp open to only open with write. 2000-12-09 18:34:28 +00:00
Jeff Teunissen
54e2a4d9d3 Okay, the big whitespace reformat. There is some silliness (case
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Jeff Teunissen
d3da228aef Largely whitespace, some opts, reverse order in which command-line parms
and environment variables are used. Command-line should ALWAYS override
the environment.
2000-12-08 04:40:02 +00:00
Jeff Teunissen
40269b2bb5 OSS sound now retries opening /dev/dsp up to 3 times if it fails the first
time, by checking whether the device is busy or temporarily unavailable (I
haven't seen the latter happen, but the former may occur if your window
manager is set to make noise when a window pops up). Between tries, the
client sleep()'s for one second (should this be half a second or even
faster?).
2000-10-11 10:34:23 +00:00
Jeff Teunissen
dd7333a2da cd_linux.c: whitespace.
quakefs.c: -game n[,n ...] support.
snd_oss.c: Compilation support for OSS on BSD systems.
2000-10-10 21:45:07 +00:00
Jeff Teunissen
acace1d0eb mmap should set PROT_READ|PROT_WRITE, not just PROT_WRITE. Takes care of a
problem with FreeBSD. Also, check for MAP_FAILED instead of
(unsigned char *)-1
2000-09-21 06:27:08 +00:00
Bill Currie
af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Bill Currie
1ce7197bab rename snd_linux.c to snd_oss.c in prep for snd_alsa.c 2000-05-18 03:44:30 +00:00
Renamed from source/snd_linux.c (Browse further)