Skip to content

Improve PulseAudio playback stability - #453

Merged
4 commits merged into
mainfrom
unknown repository
May 23, 2026
Merged

Improve PulseAudio playback stability#453
4 commits merged into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented May 23, 2026

Copy link
Copy Markdown
  • Adds PulseAudio runtime options for latency, fragments, sample rate, channel count, sink volume, and AAudio performance mode through existing env vars.
  • Configures the bundled Pulse daemon for the Android native output sample rate by default, 10 ms fragments, 40 ms client latency, no flat volumes, no deferred volume, and lightweight resampling.
  • Keeps Pulse default volume at unity gain while preserving env overrides for device-specific volume tuning.
  • Adds explicit daemon channel-map defaults for mono and stereo output without passing unsupported channel-map arguments to module-aaudio-sink.
  • Patches the bundled AAudio sink performance-mode immediate at runtime so Pulse defaults to a less underrun-prone mode while still allowing low-latency override.
  • Propagates the selected Pulse latency to Wine clients through PULSE_LATENCY_MSEC unless the user already sets it.
  • Fixes the non-arm64 Pulse LD_LIBRARY_PATH system library path.
  • Makes audio perfect for Metaphor: ReFantazio.
  • Validated with .\gradlew.bat :app:compileStandardDebugJavaWithJavac.

@ghost
ghost marked this pull request as ready for review May 23, 2026 01:32
@ghost
ghost merged commit 0fde116 into WinNative-Emu:main May 23, 2026
4 checks passed
@ghost
ghost deleted the pulse-audio-stability branch May 23, 2026 01:33
Xnick417x pushed a commit to Xnick417x/WinNative that referenced this pull request May 23, 2026
This pull request was closed.
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.

0 participants