Commit Graph
85 Commits
Author SHA1 Message Date
Zacam 362c8e4169 Trunk Sync: r9134 2012-08-22 21:44:43 +00:00
chief1983 2aa9001450 Trunk Sync: r8446, r8447 2012-02-07 22:12:48 +00:00
Zacam 255c377047 Trunk Sync r7916 2011-10-17 17:58:47 +00:00
Zacam 31ccffef1c Trunk Sync r7853 2011-10-03 11:28:19 +00:00
Zacam 33e49eb177 De-commit the beta version of the sound code patch (it was accidentally merged anyway) as it currently only belongs in the RC branch. 2011-09-27 05:52:02 +00:00
Zacam 176f307316 Trunk Sync r7799 2011-09-25 04:10:42 +00:00
Zacam c62f04749c This file was inadvertently changed during a Trunk Sync that had some test data applied to it, now matches Trunk. 2011-09-09 10:55:34 +00:00
The_E b725ff7e21 trunk sync r7657 2011-09-06 21:22:39 +00:00
Zacam ad3b01c2f2 Trunk Sync r7563 2011-08-29 00:21:43 +00:00
Zacam 2f6d659147 Trunk Sync r7529 2011-08-24 20:41:13 +00:00
Echelon9 67eb406443 PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct 2011-08-14 13:14:35 +00:00
Zacam 51dbc52d4a Trunk Sync -r7171 2011-05-01 15:13:24 +00:00
Zacam b44703cc09 Copy of Trunk 6844. 2010-12-13 05:52:25 +00:00
The_E 56c1859579 Trunk sync r6715 2010-11-09 04:10:53 +00:00
Zacam 1e4b61547c Trunk Sync - r6684 2010-10-25 04:09:33 +00:00
Zacam c60c5c354f Trunk Sync r6613 2010-10-16 06:46:33 +00:00
Zacam 3a18295fb8 Trunk Sync - r6586. 2010-10-08 23:37:32 +00:00
Zacam 2edf65dfe0 Trunk Sync - r6556. 2010-10-02 00:51:18 +00:00
Zacam 3bebbbbcd0 Trunk Sync r6269. I hope this works. This is supposed to be a Trunk overlay merge into Antipodes, which should mean that Antipodes is now a copy of Trunk in all respects. 2010-06-29 22:09:34 +00:00
Zacam 83d895fce2 taylors 2nd sound code diff from Reply #99 on 03-01-2010, 00:08:44 on Testing forum. Sans Project file edits, as they have already been done. 2010-03-01 18:28:21 +00:00
chief1983 7ba1ec1738 Taylor's recent updates to the code 2010-02-24 00:21:41 +00:00
Zacam f969eb52a2 taylors Sound Code. Linux, MSVC 6, 2005 & 2008 compiling.
(Mac OS-X Compiling still needs setup for the file changes)
2010-02-23 00:15:32 +00:00
portej05 aaf3a9bf09 safe_strings changes 2009-07-26 05:15:24 +00:00
portej05 6a8d45c93d Replace most instances of std::vector with SCP_vector. Memory is now all run through vm_malloc and vm_free.
Watch it go up AND down in mission.
2009-07-11 07:07:57 +00:00
portej05 719825f80d The big CVS comment removal. This chops approx. 3.5mb off a full checkout.
I've tested this through compiling and through hand checking. 
Normalises line endings in ALL files to \n.
2009-06-20 08:08:20 +00:00
taylor 390b00d52f use strrchr() to be sure that we get the last occurance of any "." (Mantis #1587) 2008-03-28 02:18:59 +00:00
taylor 75818371d0 make sound_buffers[] dynamic (part 1 of trying to better handle mods with lots of voice acting, like BtRL)
re-enable DirectSoundCapture for OpenAL builds, at least until I write the OpenAL version of capture (Mantis #1378)
2007-10-29 15:32:19 +00:00
taylor 27b25d8e12 support for new finding/loading of sound files
add support for automatically figuring out samples-per-measure based on Goober's explanation in the Wiki (not sure if it's actually right though)
remove NO_SOUND
2007-02-11 09:56:25 +00:00
taylor ef00ba4354 fix some sound state stuff that was leading to crashes in OS X and undefined behavior in Windows (this isn't all that pretty, but will handled properly in post-3.6.9 revised code) 2006-12-26 05:31:22 +00:00
taylor 85083d163d various sound fixes/changes, mainly for OS X fixage 2006-12-07 18:24:43 +00:00
wmcoolmon 83b502b302 Fix OGG bug where sound files were always allocated 16 seconds of wavedata 2006-10-06 04:58:25 +00:00
taylor eda555d773 cleanup
bugfixes
error-handling
(lots of crap got fixed to work better, and lets leave it at that, the commit log would be too long otherwise :))
2006-08-19 04:31:24 +00:00
taylor 4a867fe2bc require OpenAL 1.1 under Windows, I think it's causing problems for us to mix users with 1.0 and builds for 1.1
(having 1.0 is fatal to sound, but the game should still work, a corresponding Launcher change goes with this too)
clean up some of the error messages to not say "DirectSound" is doing this or that, just say "Audio" instead
2006-07-08 18:10:59 +00:00
taylor 6205a0d053 some better handling of OpenAL errors during init 2006-07-06 21:56:18 +00:00
taylor fc765d5e29 fix various things that Valgrind has been complaining about 2006-06-22 14:59:45 +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 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 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 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
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 7e41877b7b proper capitalization according to Volition 2006-04-20 06:32:30 +00:00
taylor a79daa2285 something that Valgrind complained about 2006-04-14 18:39:38 +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
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 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 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
wmcoolmon acd09d9daf Fix redmenace's compile problem 2005-10-17 02:09:29 +00:00