aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/sppulse.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/sppulse.go')
-rw-r--r--internal/app/sppulse.go3
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.