125 Commits

Author SHA1 Message Date
mafiesto4 20456d95e8 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-22 17:33:20 +02:00
mafiesto4 1c840539c6 Fix crash in audio clip if it's still streaming after unload
#2866
2024-08-21 22:36:05 +02:00
mafiesto4 4a90663b1c Fix post merge 2024-08-16 15:03:04 +02:00
mafiesto4 21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
mafiesto4 51bf5cd1bf Fix to not call GetQueuedBuffersCount unless needed for the looping fix
#2834
2024-08-15 15:16:32 +02:00
mafiesto4 a6e2a45869 Merge branch 'fix-stop-audio' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-stop-audio 2024-08-15 15:14:25 +02:00
Tryibion e954417c2f Set EnableHRTF on audio init to match audio settings value. 2024-08-09 13:31:27 -05:00
Tryibion 588861757a Only reset starting value once time has progressed past zero. 2024-08-09 10:00:36 -05:00
Tryibion 3186b58ba8 Change to use near equal for float compare. 2024-08-06 21:43:38 -05:00
Tryibion 201fa888dd Add comment 2024-08-06 21:39:45 -05:00
Tryibion 17a444ad49 Fix disabled streaming audio not resetting state correctly. 2024-08-05 17:55:38 -05:00
mafiesto4 faf7a28cf2 Fix compilation after merge
#2714
2024-07-24 16:48:46 +02:00
mafiesto4 b33c2b4f36 Merge remote-tracking branch 'origin/master' into 1.9 2024-07-19 00:32:54 +02:00
Tryibion c168ce3a7e Deprecate IsActuallyPlayingSth and add IsActuallyPlaying to AudioSource 2024-07-11 17:39:11 -05:00
mafiesto4 559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
xxSeys1 a05fe5ce9b add a warning when there is more than one audio listener enabled
checks every time a listener gets enabled
2024-06-15 19:40:23 +02:00
mafiesto4 6b31d51e31 Add volume, pan and spatial audio options for video playback 2024-05-10 13:54:52 +02:00
mafiesto4 4acaa62a07 Fix crash in AudioBackendOAL::Source_DequeueProcessedBuffers when buffer count is large 2024-05-10 12:52:07 +02:00
mafiesto4 e51d2dda00 Fix playing 6-channel audio with XAudio2 backend 2024-05-08 10:20:04 +02:00
mafiesto4 f43cd97907 Refactor Audio Backend to not depend on AudioSource object 2024-05-06 10:36:36 +02:00
mafiesto4 5b2af6b3d5 Refactor Audio Backend to not depend on AudioListener object 2024-05-04 22:16:20 +02:00
mafiesto4 f604503566 Refactor Audio Backend to support single listener only 2024-05-04 21:47:47 +02:00
mafiesto4 d729eb2b24 Fix crash when playing uninitialized audio source
#2441
2024-04-15 00:01:59 +02:00
mafiesto4 9e11d45c1c Update copyright year 2024-03-19 21:52:46 +01:00
mafiesto4 4df56cb506 Refactor 3D audio implementation in XAudio2 backend to match OpenAL
#1612
2024-02-29 01:41:40 +01:00
mafiesto4 53bd576ade Fix game settings serialization bug 2024-02-28 02:05:26 +01:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 6cd9895427 Merge remote-tracking branch 'origin/master' into 1.8 2024-02-07 09:40:45 +01:00
mafiesto4 5fc768bbbd Fix spatial audio playback in OpenAL with Large Worlds enabled
#2015
2024-02-06 17:10:55 +01:00
mafiesto4 f9448c3b42 Skip calling SetTime api if start time is unused #2203 2024-02-06 10:59:55 +01:00
mafiesto4 1d4bb7a4f4 Remove unused doc comment 2024-02-05 16:30:58 +01:00
mafiesto4 b69d54a5ca Add AudioBackendTools for sharing spatial audio impl for consoles 2024-02-05 16:03:31 +01:00
whocares77 39e7be6322 Added "Start Time" option for Audio Source Actor
Added ability to set the start time of playback if "Play On Start" is enabled.
2024-01-24 19:58:29 +03:00
mafiesto4 4ae57e7769 Fix issue with asset loading to be properly canceled when reimporting file
#1894
2023-11-09 14:52:28 +01:00
Vizepi 00dc5d44d4 #1716 Do not rebuild contexts twice in a row 2023-10-15 12:24:25 +02:00
mafiesto4 455b3f2446 Fix XAudio2 playback when seeking audio start play location 2023-10-12 15:20:23 +02:00
mafiesto4 69fb2c331f Minor improvements to audio 2023-10-12 14:03:43 +02:00
mafiesto4 749c0cacb4 Fix audio playback in XAudio2 when clip is 3D but source is 2D 2023-10-12 13:11:07 +02:00
mafiesto4 b19bf57dfb Add logging any XAudio2 backed errors 2023-10-12 13:10:34 +02:00
mafiesto4 09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
mafiesto4 a698095bdd Fix spatial audio playback when clip is set after the audio source was enabled
#1622
2023-10-06 14:34:08 +02:00
mafiesto4 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
mafiesto4 560f699dd8 Fix various issues with OpenAL buffers playback (do proper bit convertion) 2023-10-06 13:59:03 +02:00
mafiesto4 176123eb1f Fix AudioClip loading error when buffer start times diff has rounding error 2023-10-06 11:40:39 +02:00
mafiesto4 d71c171412 Cleanup code in #1367 and fix api compatibility, revert joint changes 2023-09-28 13:10:58 +02:00
mafiesto4 8906453b15 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-28 09:11:29 +02:00
GoaLitiuM 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
mafiesto4 9b0fdb2cbd Disable assertions in Release build mode 2023-06-19 13:59:04 +02:00
mafiesto4 e7804f9d02 Add audio to iOS via OpenAL 2023-06-10 12:05:13 +02:00