nost: xact audio hook (#823)

## Link to GitHub Issue or related Pull Request, if one exists
Fixes #822

## Description of change
Add hooks for `libxact.dll` which only Nostalgia uses for audio. Detect
cases where the game would fail to launch (wrong number of channels) and
log a warning / deferred log.

## Testing
tested 2024102200
This commit is contained in:
bicarus
2026-07-21 15:33:30 -07:00
committed by GitHub
parent 18421ffbfe
commit 9d41ca2515
4 changed files with 404 additions and 0 deletions
+1
View File
@@ -502,6 +502,7 @@ set(SOURCE_FILES ${SOURCE_FILES}
hooks/audio/buffer.cpp
hooks/audio/mme.cpp
hooks/audio/util.cpp
hooks/audio/xact.cpp
hooks/audio/backends/dsound/dsound_backend.cpp
hooks/audio/backends/mmdevice/audio_endpoint_volume.cpp
hooks/audio/backends/mmdevice/device.cpp