Commit Graph

28 Commits

Author SHA1 Message Date
1f265bddf4 Fix XAudio2 DequeueProcessedBuffers
Some checks failed
Build Android / Game (Android, Release ARM64) (push) Has been cancelled
Build iOS / Game (iOS, Release ARM64) (push) Has been cancelled
Build Linux / Editor (Linux, Development x64) (push) Has been cancelled
Build Linux / Game (Linux, Release x64) (push) Has been cancelled
Build macOS / Editor (Mac, Development ARM64) (push) Has been cancelled
Build macOS / Game (Mac, Release ARM64) (push) Has been cancelled
Build Windows / Editor (Windows, Development x64) (push) Has been cancelled
Build Windows / Game (Windows, Release x64) (push) Has been cancelled
Tests / Tests (Linux) (push) Has been cancelled
Tests / Tests (Windows) (push) Has been cancelled
FlushSourceBuffers flushes all the pending buffers, not only just the
processed buffers.
2024-05-01 18:48:32 +03:00
Wojtek Figat
4df56cb506 Refactor 3D audio implementation in XAudio2 backend to match OpenAL
#1612
2024-02-29 01:41:40 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
b69d54a5ca Add AudioBackendTools for sharing spatial audio impl for consoles 2024-02-05 16:03:31 +01:00
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
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
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
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
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
dd9fa6e949 Fix OpenAL and XAudio2 audio backend listener/source velocity to prevent too strong Doppler effect 2023-04-19 23:24:43 +02: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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
224b9b8930 Fix mono audio playback with XAudio2 2021-12-12 12:51:08 +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
Tayler Mauk
a7e29c5784 Fix 3D audio placement for XAudio2 and OpenAL
Corrected inverted x-axis for XAudio2
Corrected inverted z-axis for OpenAL
2021-04-12 22:06:01 -07:00
Wojtek Figat
be319c446d Refactor settings types to use scripting API 2021-01-05 14:14:34 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00