Commit Graph

76 Commits

Author SHA1 Message Date
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
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Wojtek Figat
dd569b9f1e Add audio support for Mac (via OpenAL soft) 2022-01-05 11:09:36 +01:00
Wojciech Figat
d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
Wojtek Figat
224b9b8930 Fix mono audio playback with XAudio2 2021-12-12 12:51:08 +01:00
Wojtek Figat
83046494a5 Fix crash 2021-12-11 23:03:37 +01:00
Wojciech Figat
660c8ef95c Fix audio volume and stereo on XAudio backend
#675
2021-12-07 18:23:05 +01:00
Wojciech Figat
1b34b3b63a Fix audio playback issues in some cases with XAudio backend
#675
2021-12-07 18:23:04 +01:00
Wojtek Figat
48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
Wojtek Figat
8e6c7a6194 Add live-preview option for editing scene animation
#519
2021-09-22 17:09:36 +02:00
Wojtek Figat
d9410f9cdd Post merge fixes and cleanup
#571
2021-08-26 17:27:38 +02:00
Wojtek Figat
f5e5686853 Optimize includes in ThreadLocal.h 2021-07-08 00:34:49 +02:00