diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 08:03:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 08:53:04 +0900 |
| commit | 87781c765844409226804157546753b84ef3c6b4 (patch) | |
| tree | 4fa7bdbe890979badada6c36183a2ff25b7b85a8 /hst/config.go | |
| parent | 0c38fb7b6a17bed9392a4cf46fc752bc2de8eb18 (diff) | |
treewide: include PipeWire op and enforce PulseAudio check
This fully replaces PulseAudio with PipeWire and enforces the PulseAudio check and error message. The pipewire-pulse daemon is handled in the NixOS module.
Closes #26.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/config.go')
| -rw-r--r-- | hst/config.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hst/config.go b/hst/config.go index 23c21ccf..5032471b 100644 --- a/hst/config.go +++ b/hst/config.go @@ -109,11 +109,9 @@ func (config *Config) Validate() error { } } - // EPulse without EPipeWire is insecure - if et := config.Enablements.Unwrap(); !config.DirectPulse && - et&EPipeWire == 0 && et&EPulse != 0 { + if et := config.Enablements.Unwrap(); !config.DirectPulse && et&EPulse != 0 { return &AppError{Step: "validate configuration", Err: ErrInsecure, - Msg: "enablement PulseAudio requires PipeWire, which is not set"} + Msg: "enablement PulseAudio is insecure and no longer supported"} } return nil |
