Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from FNA-XNA:master #2

Open
wants to merge 220 commits into
base: master
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 8, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Mar 8, 2021
W4RH4WK and others added 28 commits March 12, 2021 11:32
Fixes parsing for big-endian SoundBanks.
Fixes parsing for big-endian SoundBanks
incorrect frequency and q variation calculations.

Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>
Even with the engine procedure callback, Wine has to swap it to another
thread in order for the application-provided callbacks to be executed in
the context of a Wine thread, and not the SDL audio created thread.

This will also allow Wine get rid of the FAudio SDL2 dependency, which
is desirable, considering we'll ultimately need FAudio built as PE.
We might overflow the read buffer otherwise.
Steelskin and others added 16 commits May 23, 2024 10:32
Previously, FAudio with `PLATFORM_WIN32` would only list the default audio device. This reworks the FAudio `PLATFORM_WIN32` code to enable access to every audio device on the system. In order to preserve the existing behavior (and XAudio2 compabitility), the audio devices are re-ordered so the first device is always the default one.

In addition:

* Properly populates the `DisplayName` field in `FAudioDeviceDetails`. Previously, it was set to the device GUID.
* [windows] Return error code for DefaultDeviceIndex
* Rework `FAudio_DefaultDeviceIndex` to return the Windows API error code and take the `defaultDeviceIndex` as parameter.

Test: Local build with visualboyadvance-m
fixed up some SDL 3 renamed symbols
Export the FAudio::FAudio-shared target when building a shared library
and the FAudio::FAudio-static target when building a static library to
separate target files so that both can be installed at the same time.

Alias FAudio::FAudio to the shared library if it is installed and the
static library otherwise in the Config.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
…ngth.

This is important for songs that are _exactly_ X seconds, because the decode
length will always be the buffer size, so it would never detect the end of the
stream until it decoded exactly 0, which wouldn't trip a buffer submission and
therefore FAUDIO_END_OF_STREAM would never get sent.
Let us never speak of the shortcut again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.