diff options
Diffstat (limited to 'internal/pipewire/core.go')
| -rw-r--r-- | internal/pipewire/core.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/pipewire/core.go b/internal/pipewire/core.go index 05fd03bd..407ea954 100644 --- a/internal/pipewire/core.go +++ b/internal/pipewire/core.go @@ -108,6 +108,20 @@ func (c *CoreInfo) MarshalBinary() ([]byte, error) { return Marshal(c) } // UnmarshalBinary satisfies [encoding.BinaryUnmarshaler] via [Unmarshal]. func (c *CoreInfo) UnmarshalBinary(data []byte) error { return Unmarshal(data, c) } +// The CoreDone event is emitted as a result of a client Sync method. +type CoreDone struct { + // Passed from [CoreSync.ID]. + ID Int + // Passed from [CoreSync.Sequence]. + Sequence Int +} + +// MarshalBinary satisfies [encoding.BinaryMarshaler] via [Marshal]. +func (c *CoreDone) MarshalBinary() ([]byte, error) { return Marshal(c) } + +// UnmarshalBinary satisfies [encoding.BinaryUnmarshaler] via [Unmarshal]. +func (c *CoreDone) UnmarshalBinary(data []byte) error { return Unmarshal(data, c) } + // The CoreBoundProps event is emitted when a local object ID is bound to a global ID. // It is emitted before the global becomes visible in the registry. type CoreBoundProps struct { |
