diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-08 19:48:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-08 20:02:09 +0900 |
| commit | e5baaf416f1404a4a9ae8581603524d868716325 (patch) | |
| tree | 944ef5ffc3c1a094a6ba21ff075a26e16618cd76 /internal/app/sppulse.go | |
| parent | ee6c471fe6e183d78e396a23b2a92fd26bb31143 (diff) | |
internal/app: check transmitted ops
This simulates params to shim and this is the last step before params to shim is merged.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/sppulse.go')
| -rw-r--r-- | internal/app/sppulse.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/app/sppulse.go b/internal/app/sppulse.go index a6dba590..bf79ae51 100644 --- a/internal/app/sppulse.go +++ b/internal/app/sppulse.go @@ -1,6 +1,7 @@ package app import ( + "encoding/gob" "errors" "fmt" "io" @@ -14,6 +15,8 @@ import ( const pulseCookieSizeMax = 1 << 8 +func init() { gob.Register(new(spPulseOp)) } + // spPulseOp exports the PulseAudio server to the container. type spPulseOp struct { // PulseAudio cookie data, populated during toSystem if a cookie is present. |
