Skip to content

Post-Splittening Linux Bugfix + Maintenance - #6

Open
PointerOffset wants to merge 4 commits into
BlueCyro:mainfrom
PointerOffset:linux-postsplit
Open

Post-Splittening Linux Bugfix + Maintenance#6
PointerOffset wants to merge 4 commits into
BlueCyro:mainfrom
PointerOffset:linux-postsplit

Conversation

@PointerOffset

@PointerOffset PointerOffset commented Aug 27, 2025

Copy link
Copy Markdown

Bugfix

This PR fixes a bug where the sampleRate is set to 0 when creating a new instance of FFTStreamSettings. This is because SDLRecordingDevice is a child of AudioInput, but its inherited SampleRate property never appears to get set.

When on using SDL, I treat FrooxEngine.AudioInput objects from FrooxEngine.AudioSystem.AudioInputs as FrooxEngine.SDLRecordingDevice so we can retrieve the sample rate from FrooxEngine.SDLRecordingDevice.Format.

Maintenance

  • Bumped runtime to net9
  • Changed LangVersion to latest (we can revert if preview still needed)
  • Added more robust OS-aware path selection from newer csproj templates
  • Changed Reference Library paths to reflect new post-splittening paths
  • Added SDL3-CS reference
  • Removed System.Memory package reference as this is now included in newer .NET releases
  • Removed a stray reference in FFTStreamHandlerFields.cs

@dragos240

Copy link
Copy Markdown

@BlueCyro Can you check this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants