Erik Hofman
|
1c39daec07
|
Fix an error
|
2016-11-27 10:19:17 +01:00 |
|
Erik Hofman
|
0ea9786601
|
Add SIMD matrix operations
|
2016-11-26 11:40:01 +01:00 |
|
Erik Hofman
|
e7f80cf5f3
|
Finish SIMD Vector code, do not change matrix operations yet since it seems to have a problem
|
2016-11-25 13:31:54 +01:00 |
|
Erik Hofman
|
16d62f93c8
|
Fix a clang reported error
|
2016-11-22 15:18:16 +01:00 |
|
Erik Hofman
|
e96834fcc6
|
Fix an error
|
2016-11-22 14:36:28 +01:00 |
|
Erik Hofman
|
22a74c63b4
|
First changes for SIMD matrix operations
|
2016-11-22 14:27:42 +01:00 |
|
Erik Hofman
|
4dc66a385e
|
Include SGMathFwd.hxx to add unknown math types
|
2016-11-21 09:22:09 +01:00 |
|
Erik Hofman
|
aec29a3a37
|
Fix clang errors
|
2016-11-20 23:54:15 +01:00 |
|
Erik Hofman
|
0d213a1990
|
Fix a typo
|
2016-11-20 16:16:28 +01:00 |
|
Erik Hofman
|
8162a49f6c
|
Give vector math a (potential) boost. Next stoP; matrices
|
2016-11-20 16:15:40 +01:00 |
|
Erik Hofman
|
43a8277bdb
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-11-20 15:01:10 +01:00 |
|
Erik Hofman
|
61a8bd5cd3
|
_m128d ony holds two doubles instead of 4 (obviously).
|
2016-11-20 15:00:24 +01:00 |
|
Erik Hofman
|
ad6f3d2db2
|
Small updates
|
2016-11-20 14:59:43 +01:00 |
|
Erik Hofman
|
73f57bbbd8
|
Add a test utility
|
2016-11-19 15:57:05 +01:00 |
|
Erik Hofman
|
a8673356a2
|
Be more specific about the exact type
|
2016-11-19 15:56:06 +01:00 |
|
Erik Hofman
|
321a3fdaba
|
Fix a typo
|
2016-11-17 13:05:08 +01:00 |
|
Erik Hofman
|
2eb17d0083
|
Revetr previous paatch for SGVec4 so close to the release
|
2016-11-17 11:50:15 +01:00 |
|
Erik Hofman
|
ff7e4597e7
|
Maximize simd optimization
|
2016-11-17 11:48:16 +01:00 |
|
Erik Hofman
|
4a4baf1b42
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-11-17 09:15:02 +01:00 |
|
Erik Hofman
|
2672d5cd11
|
include simd.hxx
|
2016-11-17 09:14:51 +01:00 |
|
Erik Hofman
|
1bf3d7c9b1
|
Add a copyright header
|
2016-11-16 15:34:25 +01:00 |
|
Erik Hofman
|
f7c0a7f933
|
Add a simd_t<int> class and more inlining
|
2016-11-16 14:00:25 +01:00 |
|
Erik Hofman
|
6bf864babb
|
Add class assingment functions
|
2016-11-16 13:33:51 +01:00 |
|
Erik Hofman
|
43bd1b15ee
|
Add a SIMD accelerator class for float[4] and double[4] types
|
2016-11-16 12:45:14 +01:00 |
|
Erik Hofman
|
679b7b845c
|
Always define the class destructor
|
2016-11-08 13:17:15 +01:00 |
|
Erik Hofman
|
e3a4144e6c
|
Switch to SGMisc::isNaN
|
2016-10-28 11:18:40 +02:00 |
|
Erik Hofman
|
a97c145f56
|
Always return a value
|
2016-10-04 09:08:43 +02:00 |
|
Erik Hofman
|
b9deebb59d
|
It's perfectly valid to call is_sample_stopped() even if the sample was already stopped. So remove the assert and replace it with an if-test
|
2016-10-03 09:55:31 +02:00 |
|
Erik Hofman
|
8d266491c5
|
Fix the header location
|
2016-08-06 11:26:47 +02:00 |
|
Erik Hofman
|
0acbe1f087
|
Clean up the code a bit and combine soundmgr_openal.hxx and soundmgr_aeonwave.hxx into a single file
|
2016-08-06 11:25:27 +02:00 |
|
Erik Hofman
|
f8d5e58ccc
|
Clean up the code a bit and combine soundmgr_openal.hxx and soundmgr_aeonwave.hxx into a single file
|
2016-08-06 11:24:58 +02:00 |
|
Erik Hofman
|
fcd0f15ff2
|
Remove an unused variable
|
2016-08-05 11:20:33 +02:00 |
|
Erik Hofman
|
f092f000fa
|
AeonWave is off by default
|
2016-08-05 10:57:20 +02:00 |
|
Erik Hofman
|
65a3d9ed6c
|
Search for the right header file
|
2016-08-04 18:40:12 +02:00 |
|
Erik Hofman
|
85c4e03823
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-08-04 18:39:54 +02:00 |
|
Erik Hofman
|
7754f88be7
|
Finish AeonWave integration
|
2016-08-04 18:38:38 +02:00 |
|
Erik Hofman
|
1e24245d6c
|
Reflect the latest header changes
|
2016-08-03 10:52:40 +02:00 |
|
Erik Hofman
|
52ec6cee85
|
Add the compile time option to test the return values
|
2016-07-29 12:36:13 +02:00 |
|
Erik Hofman
|
eb53d4ca78
|
Add get_no_tracks()
|
2016-07-29 12:35:43 +02:00 |
|
Erik Hofman
|
f3c3b7ec1b
|
Split include dirs
|
2016-07-29 12:35:20 +02:00 |
|
Erik Hofman
|
f6e92ac9e5
|
Update to the latestaienwave.hpp header file
|
2016-07-26 15:22:09 +02:00 |
|
Erik Hofman
|
48c5e5e43b
|
Update to the latestaienwave.hpp header file
|
2016-07-26 15:21:26 +02:00 |
|
Erik Hofman
|
7cc9a1753c
|
updates for the aeonwave.hpp header changes
|
2016-07-25 11:40:40 +02:00 |
|
Erik Hofman
|
068745617c
|
Add support for stereo
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
935c3f901d
|
Add some tests for AeonWave
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
0b60669075
|
Add some tests for AeonWave
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
488039d1de
|
Either install soundmgr_openal.hxx or soundmgr_aeonwave.hxx as soundmgr.hxx
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
efe9648afa
|
Activate AeonWave by setting USE_AEONWAVE to ON
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
d12cd4945e
|
Get soundmgr_aeonwave in a compilig state
|
2016-07-21 13:05:40 +02:00 |
|
Erik Hofman
|
968e0b4cd2
|
Make stereo files a SG_POPUP message
|
2016-07-21 09:54:11 +02:00 |
|
Erik Hofman
|
d902fffa46
|
Make a failed wav file a SG_POPUP message
|
2016-07-20 15:02:24 +02:00 |
|
Erik Hofman
|
3092274cac
|
Add support for SG_POPUP messages which show a dialog at startup
|
2016-07-20 15:01:30 +02:00 |
|
Erik Hofman
|
5f54388ed9
|
Be more specific about what audio type is detected and for which file if it is not supported.
|
2016-07-20 08:37:07 +02:00 |
|
Erik Hofman
|
9b4f1b0ff8
|
Reluctantly add support for stereo files again: there are external hangars which did not update to the mono-files only principle
|
2016-07-19 10:44:46 +02:00 |
|
Erik Hofman
|
c48a28beb9
|
Remove some unusal ocde..???
|
2016-07-18 13:49:40 +02:00 |
|
Erik Hofman
|
96986c9377
|
Try to prevent a crash in unusual situations
|
2016-07-18 11:59:47 +02:00 |
|
Erik Hofman
|
efa1292b2d
|
Fix a compiler wrning
|
2016-07-03 09:44:04 +02:00 |
|
Erik Hofman
|
98de216878
|
No need to count all 150 or so entries, 3 is enough
|
2016-07-03 09:39:52 +02:00 |
|
Erik Hofman
|
82a9491de4
|
Much shorter version of Dir::isEmpty()
|
2016-07-03 09:35:03 +02:00 |
|
Erik Hofman
|
b23e9a3424
|
Detect the actual number of wchars required for the buffer and allocate it properly
|
2016-07-03 09:34:19 +02:00 |
|
Erik Hofman
|
0e62c11fd0
|
AeonWave based sound manager
|
2016-07-03 09:03:37 +02:00 |
|
Erik Hofman
|
5b54481555
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-07-02 11:07:11 +02:00 |
|
Erik Hofman
|
f4344c5c6a
|
Fix directory creation: 'ds' remains the same while 'dir' gets updated so use 'dir' instead
|
2016-07-02 11:06:36 +02:00 |
|
Erik Hofman
|
372dead21a
|
Convert _filename to an SGPath
|
2016-07-02 11:03:32 +02:00 |
|
Erik Hofman
|
a8d8158fac
|
Properly et frequency, format and buffer size
|
2016-06-27 13:19:37 +02:00 |
|
Erik Hofman
|
2321d9783d
|
Move the isNaN function to soundmgr_openal_private.hxx to make it avaiable for the soundmanager too
|
2016-06-27 12:35:58 +02:00 |
|
Erik Hofman
|
da1aeece14
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-06-07 21:51:21 +02:00 |
|
Erik Hofman
|
c722f90848
|
Only throw an expection if buf == NULL..
|
2016-06-07 12:59:16 +02:00 |
|
Erik Hofman
|
dc1696dfd5
|
Throw an exception when the current working directory can not be retrieved
|
2016-06-07 11:51:28 +02:00 |
|
Erik Hofman
|
add3a934af
|
XMerge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-06-01 23:13:59 +02:00 |
|
Erik Hofman
|
e82e4f8c93
|
Merge branch 'aeonwave' into next
|
2016-06-01 23:13:09 +02:00 |
|
Erik Hofman
|
6582d041e6
|
Make sure block align is in samples when calling alBufferi with AL_UNPACK_BLOCK_ALIGNMENT_SOFT
|
2016-06-01 23:12:55 +02:00 |
|
Erik Hofman
|
4224d2b86b
|
block_alignment for AL_SOFT_block_alignment is in samples, not in bytes
|
2016-06-01 14:16:49 +02:00 |
|
Erik Hofman
|
c3db9b9d86
|
Fix a comment
|
2016-06-01 10:10:34 +02:00 |
|
Erik Hofman
|
3223f16fe6
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-06-01 09:52:00 +02:00 |
|
Erik Hofman
|
03f7f82856
|
Revert to the previous way of handling OpenAL. The reason was to find alext.h but that reason has gone by copying a small number of defines
|
2016-06-01 09:51:41 +02:00 |
|
Erik Hofman
|
f71e2e0e9f
|
Merge branch 'next' into aeonwave
|
2016-05-31 13:40:50 +02:00 |
|
Erik Hofman
|
ce0cdcdcb0
|
Add the option to define volume and pitch using an expression
|
2016-05-31 13:40:46 +02:00 |
|
Erik Hofman
|
426912173a
|
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
|
2016-05-30 18:36:20 +02:00 |
|
Erik Hofman
|
976c85ff57
|
Add IMA4 support
|
2016-05-30 14:17:16 +02:00 |
|
Erik Hofman
|
469097ed5b
|
Add test files for mulaw en IMA4 ADPCM
|
2016-05-30 11:50:11 +02:00 |
|
Erik Hofman
|
ae375f44f2
|
Add support for native mulaw encoded samples if the OpenAL implementation supports it
|
2016-05-30 11:46:41 +02:00 |
|
Erik Hofman
|
d1a808c630
|
Find OpenAL the proper way
|
2016-05-30 10:50:22 +02:00 |
|
Erik Hofman
|
733c283b1a
|
Do not forget to alter the function declaration as well
|
2016-05-27 22:43:52 +02:00 |
|
Erik Hofman
|
f65a970d2e
|
Fix two OpenAL related compiler errors
|
2016-05-27 19:08:20 +02:00 |
|
Erik Hofman
|
ef5b9ee66b
|
Move all OpenAL function calls from SampleMgr to soundMgr
|
2016-05-27 14:40:49 +02:00 |
|
Erik Hofman
|
c5a94e8899
|
Switch to out own audio format defines
|
2016-05-27 11:58:01 +02:00 |
|
Erik Hofman
|
b05488649a
|
Remove unused sample queue code
|
2016-05-27 11:37:47 +02:00 |
|
Erik Hofman
|
c654c82a3f
|
Remove support for stereo sounds
|
2016-05-27 10:52:04 +02:00 |
|
Erik Hofman
|
4b7d577883
|
Merge branch 'next' into aeonwave
|
2016-05-27 10:03:56 +02:00 |
|
Erik Hofman
|
b3d95c0754
|
Probably a better fix
|
2016-05-25 14:30:06 +02:00 |
|
Erik Hofman
|
87c2427cfe
|
MSVC 2013 and later define std::isnan
|
2016-05-25 09:08:52 +02:00 |
|
Erik Hofman
|
857f7c9e61
|
Revert to c++98
|
2016-05-24 21:37:12 +02:00 |
|
Erik Hofman
|
91f184caff
|
Do not expose both std::isnan() and isnan()
|
2016-05-24 17:32:22 +02:00 |
|
Erik Hofman
|
7cab98cf29
|
First layer of separation between SimGear an OpenAL
|
2016-05-24 15:47:20 +02:00 |
|
Erik Hofman
|
e9ea5e9036
|
Revert the check fro std::isnan() and isnan()
|
2016-05-24 14:51:17 +02:00 |
|
Erik Hofman
|
03a8a2a3fb
|
Switch to c++11
|
2016-05-24 10:42:01 +02:00 |
|
Erik Hofman
|
f1bffc7397
|
Add more missing header files
|
2016-05-24 10:12:39 +02:00 |
|
Erik Hofman
|
63b2b04977
|
Code cleanups and fix codecPCM16 for big-endian systems (they seem rare these days)
|
2016-03-28 15:08:28 +02:00 |
|
Erik Hofman
|
5d754c0419
|
Fix a very rare nan where r_earth/position_radius > 1.0
|
2015-12-29 15:49:12 +01:00 |
|