Wojtek Figat
455b3f2446
Fix XAudio2 playback when seeking audio start play location
2023-10-12 15:20:23 +02:00
Wojtek Figat
69fb2c331f
Minor improvements to audio
2023-10-12 14:03:43 +02:00
Wojtek Figat
749c0cacb4
Fix audio playback in XAudio2 when clip is 3D but source is 2D
2023-10-12 13:11:07 +02:00
Wojtek Figat
b19bf57dfb
Add logging any XAudio2 backed errors
2023-10-12 13:10:34 +02:00
Wojtek Figat
09f2be907e
Merge remote-tracking branch 'origin/master' into 1.7
...
# Conflicts:
# Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
a698095bdd
Fix spatial audio playback when clip is set after the audio source was enabled
...
#1622
2023-10-06 14:34:08 +02:00
Wojtek Figat
92e28f66af
Fix various issues with audio clip data buffers to reduce artifacts (especially when using 24-bit data)
2023-10-06 14:19:22 +02:00
Wojtek Figat
560f699dd8
Fix various issues with OpenAL buffers playback (do proper bit convertion)
2023-10-06 13:59:03 +02:00
Wojtek Figat
176123eb1f
Fix AudioClip loading error when buffer start times diff has rounding error
2023-10-06 11:40:39 +02:00
Wojtek Figat
d71c171412
Cleanup code in #1367 and fix api compatibility, revert joint changes
2023-09-28 13:10:58 +02:00
Wojtek Figat
8906453b15
Merge remote-tracking branch 'origin/master' into 1.7
2023-08-28 09:11:29 +02:00
3939106e78
Fix crash with XAudio2 backend when source is playing
...
The array containing the sources might grow and invalidate existing
pointers to sources while some of the previous sources are still playing.
2023-08-25 22:09:00 +03:00
Wojtek Figat
9b0fdb2cbd
Disable assertions in Release build mode
2023-06-19 13:59:04 +02:00
Wojtek Figat
e7804f9d02
Add audio to iOS via OpenAL
2023-06-10 12:05:13 +02:00
Wojtek Figat
390460907d
Merge remote-tracking branch 'origin/master' into 1.6
...
# Conflicts:
# Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
# Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Wojtek Figat
2090cba743
Fix crash when using multiple audio clips streaming with XAudio2 backend
2023-04-22 13:01:05 +02:00
Wojtek Figat
8d0cfcf05d
Fix missing initial audio source volume setup for XAudio2
2023-04-22 12:26:10 +02:00
Wojtek Figat
3e8a29cdd5
Improve XAudio2 backend playback quality for spatial multi-channel sounds
2023-04-21 15:59:41 +02:00
Wojtek Figat
3d16f97e4c
Improve audio source setup clip after all properties are read
2023-04-21 15:59:18 +02:00
Wojtek Figat
8457687025
Add Pan to Audio Source for stereo panning
2023-04-21 15:58:22 +02:00
Wojtek Figat
eb613d3e8a
Add DopplerFactor to Audio Source
2023-04-20 16:01:27 +02:00
Wojtek Figat
8cfc14f4b1
Add EnumAddFlags for easy flags appending
2023-04-20 15:21:47 +02:00
Wojtek Figat
1ffe8a7b60
Add OpenAL AL_SOFT_source_spatialize extension support for stereo spatial audio playback
...
Add `AllowSpatialization` option to `AudioSource`
2023-04-20 15:01:22 +02:00
Wojtek Figat
094a3cfe5a
Refactor 3d audio for good spatial sound quality
2023-04-20 14:54:12 +02:00
Wojtek Figat
d719ef8d03
Fix crash when reimporting audio clip while it's being played
2023-04-20 10:56:57 +02:00
Wojtek Figat
dd9fa6e949
Fix OpenAL and XAudio2 audio backend listener/source velocity to prevent too strong Doppler effect
2023-04-19 23:24:43 +02:00
Wojtek Figat
552ce3e495
Add AudioDataInfo.Length
2023-04-19 15:15:28 +02:00
Wojtek Figat
1e1c296300
Cleanup HRTF support code #963
2023-04-19 13:12:27 +02:00
Wojtek Figat
c615ad18a8
Build deps for iOS
2023-03-16 22:13:37 +01:00
Wojtek Figat
0ba261d338
Add iOS platform (refactor Mac into shared Apple platform impl)
2023-03-15 20:58:23 +01:00
envision3d
b450c65c93
fix incorrect audio direction calculation
2023-03-05 03:50:51 -06:00
envision3d
4ce89f56cc
implement openal hrtf audio support
...
- upgrade openal version
- add support to create openal context with hrtf enabled
- add option in audio settings for hrtf enablement
- add static property on Audio class for runtime toggling of hrtf
- fix bug with left/right and front/back being reversed
2023-03-04 20:37:56 -06:00
Wojtek Figat
c09afe55a3
Merge branch 'fix-audio-settings' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-fix-audio-settings
2023-02-05 12:49:15 +01:00
PrecisionRender
0461a78cdb
Fix audio settings not applying doppler factor
2023-01-24 22:14:45 -06:00
Wojciech Figat
9626e9bbb6
Update copyright year
2023-01-10 15:29:37 +01:00
Preben Eriksen
de2374ad40
Merge commit 'b02020f8017bb4f3f22440bc39b60857ab364179' into PE-1.4-5
...
* commit 'b02020f8017bb4f3f22440bc39b60857ab364179':
PE: AudioSource - Stop() folowed by Play() now act like a restart.
2022-11-28 12:56:30 +01:00
Wojtek Figat
76c1045444
Code cleanup after #823
2022-11-23 19:18:30 +01:00
Chandler Cox
4515844219
changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute
2022-11-11 16:37:45 -06:00
Preben Eriksen
b02020f801
PE: AudioSource - Stop() folowed by Play() now act like a restart.
2022-11-10 10:51:20 +01:00
Wojtek Figat
e98621b887
Code style fix
...
#814
2022-11-06 23:05:36 +01:00
Chandler Cox
1af0188a3c
changed how actor context menus are created.
2022-10-31 19:18:43 -05:00
Wojtek Figat
57e812d336
Fix audio clips streaming to be thread-safe when audio sources play
...
#786
2022-10-29 18:57:57 +02:00
Wojtek Figat
4ba93d9d86
Code cleanup #765
2022-10-29 12:04:42 +02:00
Preben Eriksen
fd831f569c
PE: Fix - Streaming audio could not loop. ( https://github.com/FlaxEngine/FlaxEngine/issues/786 )
2022-10-26 09:54:10 +02:00
Wojciech Figat
9d26004864
Fix looping streamable audio clips with multiple chunks
2022-07-26 14:36:50 +02:00
Wojciech Figat
3dbff3cab7
Fix crash when closing handles to asset file while any asset streaming task is active for asset from that file
2022-07-18 13:02:34 +02:00
Wojciech Figat
92eb19291d
Fix crash when using ogg audio bit depth higher than 16
2022-07-13 10:04:55 +02:00
Wojtek Figat
a881c90b2e
Refactor engine to support double-precision vectors
2022-06-13 00:40:32 +02:00
Wojciech Figat
5e9dac49a8
Remove breakpoint on OpenAL error
2022-02-01 17:38:55 +01:00
Wojciech Figat
26191935a7
Fix issues with OpenAL audio backend
2022-02-01 17:34:46 +01:00