Lyrebird 2.0.0 — Linux support
Consolidated release: the cross-platform Linux port (engine, generators, CLI, REPL, NRT, portable DSP), live ALSA audio + ALSA MIDI + POSIX OSC + portable WAV codec, the GTK4 GUI (LyrebirdUI on the SwiftOpenUI backend), and the Linux live-coding scratchpad (LiveCompile). Apple platforms unchanged; all additive. See RELEASES.md and LINUX_README.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
/// On ARM64, sets FPCR bit 24 (FZ — flush subnormal outputs to zero).
|
||||
/// On x86-64, sets MXCSR bit 15 (FZ) and bit 6 (DAZ — treat subnormal inputs as zero).
|
||||
///
|
||||
/// Uses `fesetenv(FE_DFL_DISABLE_DENORMS_ENV)`, the macOS-standard mechanism for disabling
|
||||
/// subnormal processing. This is thread-local state; call it at the start of each audio
|
||||
/// render callback to guarantee the RT thread always runs with denormals suppressed.
|
||||
/// The mechanism is platform-specific: Apple uses `fesetenv` with the Darwin-only
|
||||
/// `FE_DFL_DISABLE_*_DENORMS_ENV` environments; non-Apple x86 uses the SSE MXCSR
|
||||
/// intrinsics; non-Apple AArch64 writes FPCR directly. This is thread-local state;
|
||||
/// call it at the start of each audio render callback to guarantee the RT thread
|
||||
/// always runs with denormals suppressed.
|
||||
void lyrebird_enable_flush_to_zero(void);
|
||||
|
||||
Reference in New Issue
Block a user