v0.6.11 — Native PulseAudio / PipeWire audio output
Replaced external `pw-play` / `paplay` subprocesses and temporary WAV files with two dedicated Rust playback workers using `libpulse-simple-binding`. The existing two-tone alarm sounds, SpO₂-dependent QRS tones, rhythms, mute controls, alarm priorities and selective alarm-pause logic are retained. A manual test tone remains available with audible alarms switched off. Flatpak requires the PulseAudio socket and `libpulse-simple` in its SDK/runtime.
This commit is contained in:
parent
98bcdb934d
commit
56f9f2e932
12 changed files with 2071 additions and 247 deletions
57
patient-monitor-simulation/at.criticalcare.SimPaM.yml
Normal file
57
patient-monitor-simulation/at.criticalcare.SimPaM.yml
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
|
||||
app-id: at.criticalcare.SimPaM
|
||||
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: "51"
|
||||
sdk: org.gnome.Sdk
|
||||
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.rust-stable
|
||||
|
||||
command: patient-monitor-simulation
|
||||
|
||||
finish-args:
|
||||
# GTK4 / display
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --share=ipc
|
||||
- --device=dri
|
||||
|
||||
# Audio (PulseAudio / PipeWire)
|
||||
- --socket=pulseaudio
|
||||
|
||||
# Instructor web interface / TCP server
|
||||
- --share=network
|
||||
|
||||
modules:
|
||||
- name: simpam
|
||||
buildsystem: simple
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
env:
|
||||
CARGO_HOME: /run/build/simpam/cargo
|
||||
CARGO_NET_OFFLINE: "true"
|
||||
|
||||
build-commands:
|
||||
- cargo build --release --locked --offline
|
||||
|
||||
- install -Dm755
|
||||
target/release/patient-monitor-simulation
|
||||
/app/bin/patient-monitor-simulation
|
||||
|
||||
- install -Dm644
|
||||
at.criticalcare.SimPaM.desktop
|
||||
/app/share/applications/at.criticalcare.SimPaM.desktop
|
||||
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
skip:
|
||||
- target
|
||||
- build-flatpak
|
||||
- flatpak-repo
|
||||
- .flatpak-builder
|
||||
- .git
|
||||
|
||||
- cargo-sources.json
|
||||
Loading…
Reference in a new issue