taylor
fc765d5e29
fix various things that Valgrind has been complaining about
2006-06-22 14:59:45 +00:00
taylor
b53d7081ff
various compiler warning fixes
2006-06-18 16:54:36 +00:00
taylor
a34707fbe4
make sure we can report both AL and ALC errors
...
fix for ds_get_free_channel(), it shouldn't return -1 on an AL error
2006-06-18 16:52:04 +00:00
taylor
b165c156bc
we don't use alc functions here so no real need for the header
2006-06-18 16:50:19 +00:00
taylor
b82223a18f
sync up current OpenAL changes
...
- "SoundDeviceOAL" reg option for user specified sound device (used instead of "Soundcard" for OpenAL)
- reset current context when we are leaving, may be leaving drivers in a bad state, and it hasn't hung up in quite a while
- if sound card (which DS or OAL) is set to "no sound" then be sure to disable both sound and music
2006-06-12 03:40:26 +00:00
taylor
349ffc664f
some more buffer size strangeness (which I still don't understand) that makes certain sound formats not work properly
2006-06-02 08:05:33 +00:00
taylor
81dab9c506
make sure to use software device rather than hardware since we don't currently handle source rotation/reuse properly between ds and audiostr code
2006-06-01 07:33:00 +00:00
taylor
0968449eed
put back listener setup for each sound, doesn't make a difference under Linux but it may be hurting Windows for some reason
2006-06-01 04:46:18 +00:00
taylor
f78a5d462c
a little change to the order here, this should be safer in the long run and avoid some memory issues too
2006-06-01 04:45:19 +00:00
taylor
b10c96d9e2
bah! this thing is crashing. disable for now until I can figure out what's going on
2006-05-31 04:01:13 +00:00
Goober5000
02739c5393
whoops, didn't mean to commit that
2006-05-31 03:27:19 +00:00
Goober5000
3d73663123
some cosmetic changes in preparation for bay arrival/departure code
...
--Goober5000
2006-05-31 03:05:43 +00:00
karajorma
b74175a102
Got sick of seeing that compiler warning all the time!
2006-05-30 11:20:38 +00:00
Goober5000
9957b565bc
add Taylor's compile fix
...
--Goober5000
2006-05-29 02:02:17 +00:00
taylor
275c656fd7
remove non-Windows timeSetEvent() functions
...
make PDWORD and LPDWORD int instead of long (64-bit issue) (thanks Spike)
fix 64-bit ptr issue with OpenAL audio streaming code (thanks Spike)
add start of device enumberation for OpenAL 1.1 (it just lists available devices now)
make sure we open the default OpenAL 1.1 device under Windows
comment out blank listener stuff, this may have been crashing under OS X
add support for AL_BYTE_OFFSET in OpenAL 1.1 for buffer positioning under Windows
2006-05-27 16:39:40 +00:00
Goober5000
0e2d3156db
fix for Mantis #875
...
--Goober5000
2006-05-16 15:54:39 +00:00
taylor
dc5d21a499
forgot to remove STRICT define before commit, gets rid of a Windows compiler warning
2006-05-14 05:22:43 +00:00
taylor
ba41389677
make sure sound buffers are valid before trying to delete them (was causing crash issues on Windows and OS X)
2006-05-13 07:11:46 +00:00
taylor
2a94d55007
some Windows specific OpenAL changes
...
add MVE files to MSVC6 project
2006-05-13 07:10:37 +00:00
Goober5000
7e41877b7b
proper capitalization according to Volition
2006-04-20 06:32:30 +00:00
bobboau
7c36a78db8
bugfix for the animation system
2006-04-18 00:56:28 +00:00
taylor
a79daa2285
something that Valgrind complained about
2006-04-14 18:39:38 +00:00
taylor
ac19ddcadb
address out-of-bounds issues for Sounds[] when unloading
2006-03-22 21:42:55 +00:00
taylor
7a0228fefe
remove alut headers, since we don't use any alut functions anyway (didn't I already do this a couple of months ago??)
2006-03-15 17:30:47 +00:00
Goober5000
b52b6b1e00
spelling
2006-02-25 21:47:19 +00:00
taylor
dd962df79e
handle badly encoded (has short reads due to strange block/data size ratio) ADPCM files a little better in debug builds
2006-02-20 07:25:14 +00:00
taylor
222a225eb8
I never did really like the old audiostr OpenAL change here, this just seems safer
...
initialize si->data and si->size before loading sound buffer (fixes OGG issue for plats that don't zero-initialize <vector>, this will be handled differently in the new code)
2006-02-16 05:47:32 +00:00
Goober5000
a4ef31ec20
RT's bugfix
2006-02-11 07:34:25 +00:00
taylor
f8c1115c7f
some minor fixage
2006-01-30 22:08:59 +00:00
taylor
b618a74072
make sure to init dest and dest_size for any calling functions that don't
2006-01-30 07:14:32 +00:00
taylor
74f014c64d
(possibly) better fix for some static/stuttering in certain wav files
2006-01-30 06:35:02 +00:00
wmcoolmon
24d8f7973f
Scripting updates; Special scripting image list; Better operator meta; Orientation type; Wing type; Texture type. Fix for MSVC7 compiling.
2006-01-21 02:22:05 +00:00
Goober5000
8dbd2dbbe7
fix warning message
...
--Goober5000
2006-01-20 07:21:33 +00:00
Goober5000
8ab1cf65a9
reordered #include files to quash Microsoft warnings
...
--Goober5000
2006-01-20 07:10:34 +00:00
taylor
82098596a0
better error handling for OGG Voris files
2006-01-19 11:49:12 +00:00
taylor
0247059768
correct get/set sample math, it expects 8-bit sizes so we have to convert to/from actual
2006-01-15 21:22:22 +00:00
randomtiger
fcd67856f7
Improvements to voice recognition system.
...
Also function put on -voicer launcher option.
2006-01-10 18:37:46 +00:00
taylor
36815c10e0
newline fixage
2006-01-08 13:05:41 +00:00
taylor
377c88c1ee
I refuse to comment on my own stupidity! (fixes music interruption)
2006-01-06 11:25:29 +00:00
randomtiger
3603e36d13
Removed bad phrases.cfg reference
2006-01-03 18:09:31 +00:00
randomtiger
7bf193c5e4
Added voice recognition functionality for Visual C6 project only.
...
Currently still a work in progress.
2006-01-03 17:07:11 +00:00
taylor
09d76a1a12
remove ALUT headers, we don't it anyway and it's not included with OpenAL anymore
2006-01-02 07:26:43 +00:00
taylor
425c7b86b4
deal with cf_find_file_location() changes
...
add a central parse_modular_table() function which anything can use
fix up weapon_expl so that it can properly handle modular tables and LOD count changes
add support for for a fireball TBM (handled a little different than a normal TBM is since it only changes rather than adds)
2005-12-28 22:17:02 +00:00
taylor
4fd616b2c5
cleanup some debug log messages:
...
note that a nprintf() with "Warning" or "General" is basically the same thing as mprintf()
make sure that OpenAL init failures always get to the debug log
2005-12-06 03:17:48 +00:00
taylor
c0f2766693
allow for badly encoded ADPCM files if it was otherwise decoded properly
2005-11-16 09:16:24 +00:00
taylor
8855e5dfde
now able to build with OpenAL 1.0 and 1.1 thanks to newer OpenAL CVS changes (patch from icculus.org FS2 mailing list)
2005-11-14 05:12:01 +00:00
taylor
7032e999c8
fix crashes and minor slowdowns when sound is disabled (-nosound)
2005-10-23 19:08:01 +00:00
wmcoolmon
acd09d9daf
Fix redmenace's compile problem
2005-10-17 02:09:29 +00:00
wmcoolmon
54ff9951c9
Change this back for MSVC.NET?
2005-10-17 00:02:46 +00:00
wmcoolmon
7fa35140e5
CFile stuff
2005-10-17 00:02:09 +00:00