diff --git a/internal/pipewire/core.go b/internal/pipewire/core.go index 3d103d6..ff13eab 100644 --- a/internal/pipewire/core.go +++ b/internal/pipewire/core.go @@ -332,7 +332,7 @@ var ErrBadBoundProps = errors.New("attempting to store bound props on a proxy th type noAck struct{} // setBoundProps should never be called as this proxy should never be targeted by [CoreBoundProps]. -func (noAck) setBoundProps(*CoreBoundProps) error { return ErrBadBoundProps } +func (noAck) setBoundProps(*CoreBoundProps) error { panic(ErrBadBoundProps) } // ErrBadRemove is returned when a [CoreRemoveId] event targeting a proxy // that should never be targeted is received and processed.