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
|
9f79e620c8
|
snd_alsa.c doesn't work for 0.9.x so don't mention it :)
|
2004-01-20 22:14:11 +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 |
|
Bill Currie
|
283d49bd8e
|
first chunk of Mike Gorchak's <mike@malva.ua> QNX patches
|
2004-01-20 05:57:39 +00:00 |
|
Bill Currie
|
e154c9add5
|
be consistent with WIN32 and _WIN32 (now all _WIN32)
|
2004-01-20 03:47:27 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
459503e61b
|
Argh.
|
2004-01-19 21:48:45 +00:00 |
|
Bill Currie
|
77b2942982
|
several libs can now get built as dlls in windows: console, gamecode,
gamecode_builtins, gib, image, modules, object, ruamoko and util.
|
2004-01-19 07:47:41 +00:00 |
|
Chris Ison
|
1d8cb8614c
|
add snd_bits/rate/stereo cvars to win and dx sound targets
|
2004-01-18 09:18:45 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
25a8748dc9
|
Bring back alsa 0.9 support as a separate module.
|
2004-01-17 22:41:53 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
a42a0aa974
|
Check return conditions during ALSA setup.
Error checking during setup is a good thing...
|
2004-01-17 22:03:58 +00:00 |
|
Bill Currie
|
17db1f42f2
|
don't block if the sound device is busy (from Grievre)
|
2004-01-16 02:50:26 +00:00 |
|
Chris Ison
|
9113ea6fd4
|
fix dereferencing type-punned pointer errors
|
2004-01-12 05:34:46 +00:00 |
|
Bill Currie
|
1bfef95a29
|
name changes to make figuring out what's private and what's not easier
|
2004-01-09 03:48:00 +00:00 |
|
Bill Currie
|
ccfa9081b0
|
fix shm properly :)
|
2004-01-08 03:46:11 +00:00 |
|
Bill Currie
|
deb8137db7
|
more sound static cleanup
|
2004-01-08 01:48:02 +00:00 |
|
Bill Currie
|
e639e5efc3
|
clean up snd.c a little
|
2004-01-08 00:25:52 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
2485bed45a
|
Codestyle. Grr!
|
2004-01-07 08:45:18 +00:00 |
|
Bill Currie
|
e4416c1f66
|
fix some weird whitespace
|
2004-01-07 08:16:59 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
3d14b29b38
|
Whitespace
|
2004-01-06 03:24:46 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
5f76017d2a
|
Update ALSA sound target to support 1.0.
Breaks 0.9 support, but 1.0 is in 2.6.0. So either update, or revert to older
snd_alsa.c & alsa_funcs_list.h.
|
2003-12-22 01:07:49 +00:00 |
|
Chris Ison
|
d2d0cb211c
|
proper implementation to prevent the fastforward effect
|
2003-10-15 20:40:53 +00:00 |
|
Chris Ison
|
392902f5af
|
added SND_NoResampleStereo so that streams that don't need resampling aren't forced to, also added midi support via libWildMidi, MIDI FILES RULE
|
2003-09-10 05:20:51 +00:00 |
|
Bill Currie
|
89833cb4d7
|
support streams that don't want any resampling
|
2003-09-09 22:20:10 +00:00 |
|
Bill Currie
|
0e6c56aa92
|
drop alsa 0.5 support and rename snd_alsa_0_9.c to snd_alsa.c. also rename
the alsa0_9 plugin to alsa.
|
2003-09-09 18:43:38 +00:00 |
|
Bill Currie
|
ba4ca3515d
|
make the default pcm device "default"
|
2003-09-08 22:56:06 +00:00 |
|
Bill Currie
|
07d7f81e14
|
hopefully fix the alsa-lib assertion bug
|
2003-08-04 03:36:55 +00:00 |
|
Bill Currie
|
9210829573
|
PLUGIN_INFO decl cleanup
|
2003-08-01 19:53:46 +00:00 |
|
Bill Currie
|
14a9ff2e6b
|
make dx default
|
2003-07-23 16:43:25 +00:00 |
|
Bill Currie
|
6efa0ca736
|
if at first you don't succeed...
|
2003-07-10 22:20:29 +00:00 |
|
Bill Currie
|
855fc53709
|
handle alloca properly
|
2003-07-09 06:28:09 +00:00 |
|
Bill Currie
|
21f7365bcc
|
make "win" the default for snd_output on windows
|
2003-07-08 20:09:23 +00:00 |
|
Brian Koropoff
|
9e57425f4f
|
Make the playcenter hack not screw up sound spatialization.
|
2003-05-28 04:49:09 +00:00 |
|
Brian Koropoff
|
124d90f84f
|
Add the playcenter command to play a sound without 3d spatialization.
|
2003-05-15 22:39:34 +00:00 |
|
Bill Currie
|
5f3573143a
|
the beginnings of a jihad against buffer overflows
|
2003-05-08 23:24:02 +00:00 |
|
Bill Currie
|
06608fbf37
|
round the mmap length up to the nearest page size
|
2003-04-30 14:55:58 +00:00 |
|
Bill Currie
|
95ae17acc1
|
I don't know why MAP_SHARED is needed, but it's not compatable with
write-only mode, so make it part of snd_oss_rw
|
2003-04-30 02:52:41 +00:00 |
|
Bill Currie
|
30b25af44b
|
bring back the rw/wo code
|
2003-04-29 03:14:37 +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
|
848bb891b3
|
win32 compile fix
|
2003-04-21 17:28:56 +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
|
efe9dd844f
|
fix the segfault on starting a map only to die from file handle starvation :P
|
2003-04-21 01:24:53 +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
|
e4ba0ad5e5
|
move to static initialization for plugin info
|
2003-04-20 02:05:28 +00:00 |
|
Bill Currie
|
49571b257d
|
crystal clear playback on resampled streams :) (still borked when shared,
though :/)
|
2003-04-17 17:43:21 +00:00 |
|