asarium
62226e71e7
Remove Ogg/Theora/Vorbis and ACM library files
...
They are no longer needed since decoding is provided by FFmpeg
2016-10-07 11:27:43 +02:00
asarium
73034ed9d2
Fix audio clipping of sounds
2016-10-05 14:57:13 +02:00
asarium
c58195f20d
Fix MSVC warnings
2016-10-05 11:02:36 +02:00
asarium
1cf11d31fe
Use FFmpeg for normal audio loading
...
This is the last part of our code that does audio loading on its own.
After this is merged the WAV/ACM/Ogg code can be removed.
2016-10-05 11:02:36 +02:00
m!m
22c0255277
Fix a bunch of 64-bit MSVC warnings ( #709 )
...
* Fix a bunch of 64-bit warnings
* Fix Linux compilation error
* Fix Mac error
* Fix some issues
* Fix more GCC warnings
* Remote unwanted change
* Remove accidentally readded file
* Fix wrong limit check
* Use BEAM_INDEX macro for getting beam object index
* Fix 32-bit warning
* Use BEAM_INDEX instead of pointer arithmetic
2016-08-09 11:08:54 -07:00
asarium
7b352e511c
Add new memory tracking subsystem
...
This expands the existing system which only worked on Windows to all
supported platforms.
If the MSVC debug runtime is not present then its behavior is emulated
by adding a header to each allocated memory block.
2016-07-29 11:02:45 +02:00
niffiwan
5c74720265
Fix memory leak in ds_load_buffer
2015-11-01 19:33:10 +10:00
asarium
03b26baf55
Fix format warning in ds.cpp
2015-08-19 11:26:30 +02:00
Goober5000
bd3cd7eb18
Merge pull request #195 from Echelon9/fix/sort-uniq-includes
...
Review and refactor #include's
2015-08-19 00:05:02 -04:00
jg18
b50bd7586c
Log OpenAL info for selected device.
...
Fix the issue pointed out by Yarn where the OpenAL info for the default
device was being logged instead of the info for the selected
device. http://www.hard-light.net/forums/index.php?topic=90070.0 .
2015-07-30 15:27:36 -07:00
Echelon9
c5493bb480
Scripted sort and uniq on (internal) project includes. Improves search time and as a by product removed a number of duplicative includes.
2015-06-22 20:24:30 +10:00
jg18
4d6d679c7b
Log usage status of enhanced sound.
2015-06-19 23:50:14 -07:00
jg18
7fe5ba8db8
Make enhanced sound on by default.
2015-06-01 11:18:07 -07:00
jg18
faa0c5e9ee
Make minor corrections to enhanced sound.
2015-06-01 10:24:07 -07:00
jg18
ad910280e7
Add support for enhanced sound.
...
Add support for enhanced in-mission sound, with 128 audio channels and a
new system for specifying per-sound priorities and concurrent playback
limits using modular extensions of soudns.tbl.
2015-05-29 23:05:30 -07:00
niffiwan
0ff8c8191f
Remove gcc -Wshadow warnings
2015-04-29 20:55:56 +10:00
chief1983
26adf935f7
Globalize various file extension lists littered throughout the code so they can be referenced from other classes as needed, instead of being hardcoded multiple times.
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@11327 387891d4-d844-0410-90c0-e4c51a9137d3
2015-04-23 12:09:18 +10:00
Zacam
2db5a3b991
Fix for Mantis 2725: Beam sounds not panning correctly
...
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10798 387891d4-d844-0410-90c0-e4c51a9137d3
2014-06-14 13:07:20 +10:00
Goober5000
a916633b46
onlyjob's spelling fixes, per Mantis #2777
2013-01-13 09:50:08 +00:00
IssMneur
76a889a027
Fixes 2266 by reverting ds_get_free_channel to retail
2012-08-16 04:42:21 +00:00
Valathil
21de0f9f73
Fixed the annoying OpenAL error messages in the log. AL_DOPPLER_FACTOR is only valid for alGet. Changed all instances to the correct alDopplerFactor.
2012-02-07 19:12:21 +00:00
Echelon9
8543045b15
STL types again. Some of these are just inefficient, like reserving one extra slot for each additional element, and then pushing that element onto the STL type
2011-10-17 13:07:24 +00:00
Echelon9
6d4f266e52
Use SCP_* types to access STL types wherever possible. This allows more complete memory monitoring
2011-10-03 09:06:56 +00:00
Zacam
b306018b92
This is now in the .14 Branch, we'll keep it there and leave the "final" code for putting to Trunk when AP is merged/Final is released.
2011-09-27 21:23:46 +00:00
IssMneur
3ec2689d39
A bunch of audio code hacks to address the concerns in http://www.hard-light.net/forums/index.php?topic=77889.0 until proper fixes of the sound code are completed.
...
+F -donotenforce = to turn off concurrent playback limit for sounds.
+F -percent_flashtobang = sets the default percentage of nebula flashes get converted to bangs. Default is 50, max 100, min 0.
+T lightning.tbl +flash_to_bang_percent: = sets the percentage of nebula flashes that get converted to bangs for the storm type.
-- Audio gain of OpenAL is set to 65% of max.
2011-09-27 03:04:11 +00:00
The_E
834e383c26
Marking a bunch of PVS Studio warnings as false alarms. While the warnings are technically correct, none of these are in places where performance matters.
2011-09-04 12:31:33 +00:00
Echelon9
d208740bcd
PVS-Studio fix: V524 It is odd that the body of 'ds_eax_set_preset' function is fully equivalent to the body of 'ds_eax_set_environment' function (ds.cpp, line 2091).
2011-08-24 15:06:22 +00:00
Echelon9
a248a37d58
PVS-Studio: Fix V805. Decreased performance. It is inefficient to identify an empty string by using 'strlen(str) > 0' construct
2011-08-24 13:37:01 +00:00
Echelon9
e55068ccf1
ds.cpp: Back this change back out until the wholesale change can be made at once
2011-05-01 14:59:31 +00:00
Echelon9
aa708f6d26
Fix Valgrind report: Use of uninitialised value &freq in alcGetIntergerv(); requires braces to address GCC crosses initialisation error due to the goto in this function
2011-05-01 11:07:26 +00:00
Echelon9
aa1601bb36
Documentation: Fix a few syntax errors reported in Doxygen's log
2011-05-01 03:54:01 +00:00
Echelon9
09a360c284
Documentation: sound/ds.cpp
2011-04-30 06:18:03 +00:00
Zacam
81bf3cec47
Reverts commits 6681, 6683 and 6684. Adds C4101 Warning suppression for Release Builds (only) so that "catch" doesn't cause an unreferenced parameter warning.
2010-12-13 05:51:49 +00:00
The_E
727da9031c
Fix for Mantis 2329 (Malloc fail on invalid sound files)
2010-11-06 04:44:17 +00:00
Zacam
c45f22ff98
...and then it helps to actually initialize it to something.
2010-10-25 03:59:15 +00:00
Zacam
252f2b4e6c
Should have paid more attention on that last one, need to define what 'err' is outside of where it is.
2010-10-25 03:54:48 +00:00
Zacam
b64d1991e1
Fix for Release Build warning for 'err'
2010-10-25 03:43:02 +00:00
Zacam
0050b48e80
Clears up the rest of the type conversion warnings listed in MSVC.
2010-10-25 03:26:03 +00:00
IssMneur
85c4032ef7
Added a couple of mprintf lines to help diagnose where exactly Openal fails to load.
2010-10-15 17:20:50 +00:00
Zacam
53a78a859b
Warning Fix: (audiostr.cpp "WaveFile::Read" / ds.cpp "ds_load_buffer")
...
Sets 'float **pcm' to start as NULL
2010-10-08 23:30:15 +00:00
taylor
f7d8b9ef26
only need half size for mono buffer memory
2010-10-01 16:42:04 +00:00
taylor
04cac71fe9
revert r6151
...
Per source doppler factor is part of the EFX spec, which means all full 1.1 implementations.
2010-06-01 02:44:15 +00:00
The_E
4bee746897
According to the OpenAL programmer's guide, AL_DOPPLER_FACTOR is not a valid parameter for alSourcef
2010-05-31 10:38:00 +00:00
taylor
0a17554c4f
disable doppler for the time being
2010-05-29 15:53:24 +00:00
taylor
b287ecfef9
new sound code
...
- Mantis #58
- Mantis #1769
- many other fixes and improvements
2010-05-29 15:53:18 +00:00
portej05
98f337f701
safe_strings - from Antipodes build #1
2009-07-27 16:06: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